Lines Matching refs:printf

85 	printf("1..32\n");  in main()
90 printf("ok %d - dup(2) works\n", ++test); in main()
99 printf("ok %d - dup2(2) works\n", ++test); in main()
104 printf("no ok %d - dup2(2) didn't give us the right fd\n", in main()
107 printf("ok %d - dup2(2) returned a correct fd\n", test); in main()
112 printf("not ok %d - dup2(2) didn't clear close-on-exec\n", in main()
115 printf("ok %d - dup2(2) cleared close-on-exec\n", test); in main()
145 printf("ok %d - dup2(2) to itself works\n", ++test); in main()
150 printf("not ok %d - dup2(2) didn't give us the right fd\n", in main()
153 printf("ok %d - dup2(2) to itself returned a correct fd\n", in main()
159 printf("not ok %d - dup2(2) cleared close-on-exec\n", test); in main()
161 printf("ok %d - dup2(2) didn't clear close-on-exec\n", test); in main()
167 printf("not ok %d - fcntl(F_DUPFD) returned wrong fd %d\n", in main()
170 printf("ok %d - fcntl(F_DUPFD) works\n", ++test); in main()
175 printf( in main()
179 printf("ok %d - fcntl(F_DUPFD) cleared close-on-exec\n", test); in main()
185 printf("not ok %d - dup2(2) bypassed NOFILE limit\n", test); in main()
187 printf("ok %d - dup2(2) didn't bypass NOFILE limit\n", test); in main()
192 printf("ok %d - fcntl(F_DUP2FD) works\n", ++test); in main()
197 printf( in main()
201 printf("ok %d - fcntl(F_DUP2FD) returned a correct fd\n", in main()
207 printf( in main()
211 printf("ok %d - fcntl(F_DUP2FD) cleared close-on-exec\n", in main()
217 printf("ok %d - fcntl(F_DUP2FD) to itself works\n", ++test); in main()
222 printf( in main()
226 printf( in main()
233 printf("not ok %d - fcntl(F_DUP2FD) cleared close-on-exec\n", in main()
236 printf("ok %d - fcntl(F_DUP2FD) didn't clear close-on-exec\n", in main()
243 printf("not ok %d - fcntl(F_DUP2FD) bypassed NOFILE limit\n", in main()
246 printf("ok %d - fcntl(F_DUP2FD) didn't bypass NOFILE limit\n", in main()
253 printf("not ok %d - fcntl(F_DUPFD_CLOEXEC) returned wrong fd %d\n", in main()
256 printf("ok %d - fcntl(F_DUPFD_CLOEXEC) works\n", ++test); in main()
261 printf( in main()
265 printf("ok %d - fcntl(F_DUPFD_CLOEXEC) set close-on-exec\n", in main()
271 printf("ok %d - fcntl(F_DUP2FD_CLOEXEC) works\n", ++test); in main()
276 printf( in main()
280 printf("ok %d - fcntl(F_DUP2FD_CLOEXEC) returned a correct fd\n", in main()
286 printf( in main()
290 printf("ok %d - fcntl(F_DUP2FD_CLOEXEC) set close-on-exec\n", in main()
302 printf("not ok %d - fcntl(F_DUP2FD_CLOEXEC) bypassed NOFILE limit\n", in main()
305 printf("ok %d - fcntl(F_DUP2FD_CLOEXEC) didn't bypass NOFILE limit\n", in main()
311 printf("ok %d - dup3(O_CLOEXEC) works\n", ++test); in main()
316 printf( in main()
320 printf("ok %d - dup3(O_CLOEXEC) returned a correct fd\n", in main()
326 printf( in main()
330 printf("ok %d - dup3(O_CLOEXEC) set close-on-exec\n", in main()
336 printf("ok %d - dup3(0) works\n", ++test); in main()
341 printf( in main()
345 printf("ok %d - dup3(0) returned a correct fd\n", in main()
351 printf( in main()
355 printf("ok %d - dup3(0) cleared close-on-exec\n", in main()
361 printf( in main()
364 printf("ok %d - dup3(fd1, fd1, O_CLOEXEC) failed\n", test); in main()
368 printf( in main()
371 printf("ok %d - dup3(fd1, fd1, 0) failed\n", test); in main()
377 printf("not ok %d - dup3(O_CLOEXEC) bypassed NOFILE limit\n", in main()
380 printf("ok %d - dup3(O_CLOEXEC) didn't bypass NOFILE limit\n", in main()