Searched refs:wjh_ret (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate03.c | 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() [all …]
|