Searched refs:TRUNC_LEN (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate03.c | 67 #define TRUNC_LEN 256 macro 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 }
|
D | truncate01.c | 86 #define TRUNC_LEN 256 /* truncation length */ macro 112 TEST(truncate(TESTFILE, TRUNC_LEN)); in main() 117 TESTFILE, TRUNC_LEN, TEST_ERRNO, in main() 136 if (file_length != TRUNC_LEN) { in main() 141 TRUNC_LEN); in main() 145 TESTFILE, TRUNC_LEN); in main()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate01.c | 84 #define TRUNC_LEN 256 /* truncation length */ macro 111 TEST(ftruncate(fildes, TRUNC_LEN)); in main() 134 if (file_length != TRUNC_LEN) { in main() 138 (int64_t) file_length, TRUNC_LEN); in main()
|