Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate03.c62 int wjh_ret = -1, wjh_f = -1, count = 0; in main() local
83 wjh_f = socket(PF_INET, SOCK_STREAM, 0); in main()
84 wjh_ret = ftruncate(wjh_f, 1); in main()
87 wjh_f, wjh_ret, errno, strerror(errno)); in main()
96 close(wjh_f); in main()
99 wjh_f = -1; in main()
110 wjh_f = open(TESTFILE, O_RDWR | O_CREAT, 0644); in main()
111 if (wjh_f == -1) { in main()
116 if ((count += write(wjh_f, str, strlen(str))) == -1) { in main()
118 close(wjh_f); in main()
[all …]