Home
last modified time | relevance | path

Searched refs:TRUNC_LEN1 (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate02.c84 #define TRUNC_LEN1 256 /* truncation length */ macro
118 TEST(ftruncate(fd, TRUNC_LEN1)); in main()
123 TRUNC_LEN1); in main()
176 if (lseek(fd, TRUNC_LEN1, SEEK_SET) < 0) { in main()
202 if ((file_length1 != TRUNC_LEN1) || in main()
204 (read_len != TRUNC_LEN1) || in main()
216 if ((file_length1 != TRUNC_LEN1) || in main()
217 (read_len != TRUNC_LEN1) || in main()
/external/ltp/testcases/kernel/syscalls/truncate/
Dtruncate02.c85 #define TRUNC_LEN1 256 /* truncation length */ macro
119 TEST(truncate(TESTFILE, TRUNC_LEN1)); in main()
124 TESTFILE, TRUNC_LEN1, TEST_ERRNO, in main()
183 if (lseek(fd, TRUNC_LEN1, SEEK_SET) < 0) { in main()
203 if ((file_length1 != TRUNC_LEN1) || in main()
205 (read_len != TRUNC_LEN1) || in main()