Searched refs:pipe (Results 26 - 50 of 72) sorted by relevance

123

/osnet-11/usr/src/lib/libshell/common/sh/
H A Dsubshell.c65 struct subshell *pipe; /* subshell where output goes to pipe on fork */ member in struct:subshell
84 short pipefd; /* read fd if pipe is created */
107 * This routine will turn the sftmp() file into a real /tmp file or pipe
116 register struct subshell *sp = subshell_data->pipe;
131 /* unable to create the /tmp file so use a pipe */
138 /* write the data to the pipe */
184 if(sp->pipe)
552 sp->pipe = sp;
573 sp->pipe
[all...]
H A Dsuid_exec.c46 * wait for the child to complete. A pipe is used to guarantee that we
394 /* create a pipe for synchronization */
395 if(pipe(pv) < 0)
407 read(pv[0],pv,1); /* wait for clone to close pipe */
448 /* move write end of pipe into FDSYNC */
H A Dio.c91 # define pipe(v) ((socketpair(AF_UNIX,SOCK_STREAM,0,v)<0||shutdown((v)[1],SHUT_RD)<0||fchmod((v)[1],S_IWUSR)<0||shutdown((v)[0],SHUT_WR)<0||fchmod((v)[0],S_IRUSR)<0)?(-1):0) macro
93 # define pipe(v) ((socketpair(AF_UNIX,SOCK_STREAM,0,v)<0||shutdown((v)[1],SHUT_RD)<0||shutdown((v)[0],SHUT_WR)<0)?(-1):0) macro
507 * A discipline is inserted when read stream is a tty or a pipe
890 * create a pipe and print message on failure
896 if(pipe(fd)<0 || (pv[0]=fd[0])<0 || (pv[1]=fd[1])<0)
1058 * close a pipe
/osnet-11/usr/src/lib/libndr/common/
H A Dndr_server.c264 mxa->pipe = np;
368 * If the desired space exceeds the current pipe size, try to expand
369 * the pipe. Leave the current pipe intact if the realloc fails.
472 smb_netuserinfo_t *ctx = &xa->pipe->np_user;
486 smb_netuserinfo_t *ctx = &xa->pipe->np_user;
495 smb_netuserinfo_t *ctx = &xa->pipe->np_user;
933 mxa->pipe->np_max_xmit_frag =
935 mxa->pipe->np_max_recv_frag =
H A Dlibndr.h441 ndr_pipe_t *pipe; member in struct:ndr_xa
/osnet-11/usr/src/lib/libast/common/misc/
H A Dprocopen.c390 * pipe not used when PROC_READ|PROC_WRITE omitted
483 if (pipe(pio))
492 if (pipe(pio) || pipe(poi))
496 else if (pipe(pio))
534 if ((flags & PROC_ORPHAN) && pipe(pop))
/osnet-11/usr/src/lib/libinstzones/common/
H A Dzones_exec.c191 * Create a pipe to be used to capture the command output
194 if (pipe(ipipe) != 0) {
241 (void) close(ipipe[0]); /* close out pipe reader side */
265 (void) close(ipipe[1]); /* Close write side of pipe */
316 (void) close(ipipe[0]); /* Close read side of pipe */
758 * Create a pipe to be used to capture the command output
761 if (pipe(ipipe) != 0) {
839 (void) close(ipipe[0]); /* close out pipe reader side */
906 (void) close(ipipe[1]); /* Close write side of pipe */
957 (void) close(ipipe[0]); /* Close read side of pipe */
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dclosure.t439 pipe READ, WRITE or die "Can't make pipe: $!";
440 pipe READ2, WRITE2 or die "Can't make second pipe: $!";
444 # through the extra pipe.
476 # Use pipe instead of system so we don't inherit STD* from
477 # this process, and then foul our pipe back to parent by
479 open PERL,"$cmd |" or die "Can't open pipe: $!\n";
/osnet-11/usr/src/lib/libc/port/gen/
H A Derrlist72 32 Broken pipe
/osnet-11/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h248 # define pipe(a) sh_pipe(a) macro
/osnet-11/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h248 # define pipe(a) sh_pipe(a) macro
/osnet-11/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h248 # define pipe(a) sh_pipe(a) macro
/osnet-11/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h248 # define pipe(a) sh_pipe(a) macro
/osnet-11/usr/src/lib/libnetcfg/common/
H A Dlibnetcfg_zio.c337 if (zoneid != GLOBAL_ZONEID && pipe(p) == -1)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/t/
H A Dposix.t47 skip("no pipe() support on DOS", 2) if $Is_Dos;
49 @fds = POSIX::pipe();
50 ok( $fds[0] > $testfd, 'POSIX::pipe' );
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/t/
H A DFunctions.t127 pipe, qx/STRING/, readpipe, setpgrp, setpriority, sleep,
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfpkrd.c208 * work around macos 10.4 recv(MSG_PEEK) bug that consumes pipe() data
219 recv_peek_ok = (!pipe(fds) && write(fds[1], tst, 2) && recv(fds[0], tst, 1, MSG_PEEK) == 1 && tst[0] == 'a' && recv(fds[0], tst, 1, MSG_PEEK) == 1 && tst[0] == 'a') ? 1 : -1;
H A Dsfhdr.h117 #define syspipef pipe
292 #define syspipef pipe
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dpopen.c141 * Protect the pipe() file descriptors from other calls to popen().
145 if (pipe(p) < 0) {
252 /* mark this pipe closed */
/osnet-11/usr/src/lib/libpkg/common/
H A Druncmd.c57 /* Size of buffer increments when reading from pipe */
370 * Create a pipe to be used to capture the command output
373 if (pipe(ipipe) != 0) {
420 (void) close(ipipe[0]); /* close out pipe reader side */
440 (void) close(ipipe[1]); /* Close write side of pipe */
491 (void) close(ipipe[0]); /* Close read side of pipe */
/osnet-11/usr/src/lib/libc/port/regex/
H A Dwordexp.c93 int pv[2]; /* pipe from shell stdout */
95 FILE *fp; /* pipe read stream */
270 * Set up pipe from shell stdout to "fp" for us
272 if (pipe(pv) < 0) {
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dworker.c33 int tm_p[2]; /* poll control pipe */
53 "Error writing to event pipe: %s", \
280 if (pipe(Tskmgr.tm_p) != 0)
282 smi_log(SMI_LOG_ERR, "can't create event pipe: %s",
437 /* begin with worker pipe */
714 ("writing to event pipe..."));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A DXSUB.h470 # define pipe PerlProc_pipe macro
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Safe/t/
H A Dsafeops.t262 pipe_op pipe FOO,BAR
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dsvc_run.c109 int svc_pipe[2]; /* pipe for breaking out of poll: read(0), write(1) */
407 * Create a pipe for waking up the poll, if new
561 * If there's data in the pipe, clear it.
766 * create_pipe() - create pipe for breaking out of poll.
771 if (pipe(svc_pipe) == -1) {
773 "RPC: svc could not create pipe - exiting"));
778 "RPC: svc pipe error - exiting"));
783 "RPC: svc pipe error - exiting"));
790 * clear_pipe() - Empty data in pipe.

Completed in 63 milliseconds

123