Lines Matching full:works
10 * Test #1: check if dup(2) works.
11 * Test #2: check if dup2(2) works.
17 * Test #8: check if fcntl(F_DUPFD) works.
21 * Test #11: check if fcntl(F_DUP2FD) works.
30 * Test #18: check if fcntl(F_DUPFD_CLOEXEC) works.
33 * Test #20: check if fcntl(F_DUP2FD_CLOEXEC) works.
39 * Test #24: check if dup3(O_CLOEXEC) works.
42 * Test #27: check if dup3(0) works.
90 printf("ok %d - dup(2) works\n", ++test); in main()
99 printf("ok %d - dup2(2) works\n", ++test); in main()
137 * works that way. in main()
145 printf("ok %d - dup2(2) to itself works\n", ++test); in main()
170 printf("ok %d - fcntl(F_DUPFD) works\n", ++test); in main()
192 printf("ok %d - fcntl(F_DUP2FD) works\n", ++test); in main()
217 printf("ok %d - fcntl(F_DUP2FD) to itself works\n", ++test); in main()
256 printf("ok %d - fcntl(F_DUPFD_CLOEXEC) works\n", ++test); in main()
271 printf("ok %d - fcntl(F_DUP2FD_CLOEXEC) works\n", ++test); in main()
311 printf("ok %d - dup3(O_CLOEXEC) works\n", ++test); in main()
336 printf("ok %d - dup3(0) works\n", ++test); in main()