Lines Matching refs:errpipe
904 int errpipe[2]; /* way to communicate to parent that the tag */ in run_child() local
935 if (pipe(errpipe) < 0) { in run_child()
962 close(errpipe[0]); in run_child()
963 close(errpipe[1]); in run_child()
969 close(errpipe[0]); in run_child()
970 fcntl(errpipe[1], F_SETFD, 1); /* close the pipe if we succeed */ in run_child()
992 WRITE_OR_DIE(errpipe[1], &errlen, in run_child()
994 WRITE_OR_DIE(errpipe[1], errbuf, errlen); in run_child()
1003 WRITE_OR_DIE(errpipe[1], &errlen, in run_child()
1005 WRITE_OR_DIE(errpipe[1], errbuf, errlen); in run_child()
1015 WRITE_OR_DIE(errpipe[1], &errlen, in run_child()
1017 WRITE_OR_DIE(errpipe[1], errbuf, errlen); in run_child()
1045 WRITE_OR_DIE(errpipe[1], &errlen, sizeof(errlen)); in run_child()
1046 WRITE_OR_DIE(errpipe[1], errbuf, errlen); in run_child()
1058 close(errpipe[1]); in run_child()
1063 if (read(errpipe[0], &errlen, sizeof(errlen))) { in run_child()
1070 if (read(errpipe[0], errbuf, errlen) < 0) in run_child()
1072 close(errpipe[0]); in run_child()
1123 close(errpipe[0]); in run_child()