Lines Matching refs:wjh_ret
62 int wjh_ret = -1, wjh_f = -1, count = 0; in main() local
84 wjh_ret = ftruncate(wjh_f, 1); in main()
87 wjh_f, wjh_ret, errno, strerror(errno)); in main()
89 if (wjh_ret == -1 && errno == EINVAL) { in main()
94 wjh_ret, errno, EINVAL); in main()
98 wjh_ret = 0; in main()
139 wjh_ret = ftruncate(wjh_f, trunc_size); in main()
142 wjh_f, wjh_ret, errno, strerror(errno)); in main()
144 if ((flag == O_RDONLY) && (wjh_ret == -1) && (errno == EINVAL)) { in main()
147 if (wjh_ret == 0) { in main()
152 "%d (wanted 0)", TESTFILE, wjh_ret); in main()
158 wjh_ret, errno, EINVAL); in main()
162 wjh_ret = 0; in main()
171 wjh_ret = ftruncate(wjh_f, trunc_size); in main()
174 wjh_f, wjh_ret, errno, strerror(errno)); in main()
176 if (wjh_ret != -1 || errno != EBADF) { in main()
179 wjh_ret); in main()