Lines Matching refs:retpipe
43 int retpipe[2]; in do_unshare_tests() local
46 if (pipe(retpipe) == -1) { in do_unshare_tests()
53 close(retpipe[0]); in do_unshare_tests()
54 close(retpipe[1]); in do_unshare_tests()
58 close(retpipe[0]); in do_unshare_tests()
61 if (write(retpipe[1], "0", 2) < 0) { in do_unshare_tests()
64 close(retpipe[1]); in do_unshare_tests()
67 if (write(retpipe[1], "1", 2) < 0) { in do_unshare_tests()
71 close(retpipe[1]); in do_unshare_tests()
75 close(retpipe[1]); in do_unshare_tests()
76 if (read(retpipe[0], &buf, 2) < 0) { in do_unshare_tests()
79 close(retpipe[0]); in do_unshare_tests()