Lines Matching refs:ftruncate
17 * Parent checks that ftruncate before the locked region and inside the region
18 * fails while ftruncate after the region succeds.
22 * Parent checks that ftruncate now works in all cases.
46 TEST(ftruncate(fd, offset));
49 tst_res(TFAIL, "ftruncate() %s succeeded unexpectedly", msg);
55 "ftruncate() %s failed unexpectedly, expected EAGAIN",
60 tst_res(TPASS, "ftruncate() %s failed with EAGAIN", msg);
67 TEST(ftruncate(fd, offset));
71 "ftruncate() %s failed unexpectedly", msg);
79 "ftruncate() to %li bytes succeded but fstat() reports size %li",
84 tst_res(TPASS, "ftruncate() %s succeded", msg);