HomeSort by relevance Sort by last modified time
    Searched refs:TRUNC_LEN (Results 1 - 3 of 3) sorted by null

  /external/ltp/testcases/kernel/syscalls/truncate/
truncate01.c 85 #define TRUNC_LEN 256 /* truncation length */
111 TEST(truncate(TESTFILE, TRUNC_LEN));
116 TESTFILE, TRUNC_LEN, TEST_ERRNO,
135 if (file_length != TRUNC_LEN) {
140 TRUNC_LEN);
144 TESTFILE, TRUNC_LEN);
truncate03.c 67 #define TRUNC_LEN 256
77 { TEST_FILE1, TRUNC_LEN, EACCES },
78 { TEST_FILE2, TRUNC_LEN, ENOTDIR },
80 { NULL, TRUNC_LEN, EFAULT },
81 { (char *)-1, TRUNC_LEN, EFAULT },
83 { long_pathname, TRUNC_LEN, ENAMETOOLONG },
84 { "", TRUNC_LEN, ENOENT },
85 { TEST_DIR1, TRUNC_LEN, EISDIR },
87 { TEST_SYM1, TRUNC_LEN, ELOOP }
  /external/ltp/testcases/kernel/syscalls/ftruncate/
ftruncate01.c 83 #define TRUNC_LEN 256 /* truncation length */
110 TEST(ftruncate(fildes, TRUNC_LEN));
133 if (file_length != TRUNC_LEN) {
137 (int64_t) file_length, TRUNC_LEN);

Completed in 79 milliseconds