/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | subshell.c | 65 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 D | suid_exec.c | 46 * 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 D | io.c | 91 # 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 D | ndr_server.c | 264 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 D | libndr.h | 441 ndr_pipe_t *pipe; member in struct:ndr_xa
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | procopen.c | 390 * 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 D | zones_exec.c | 191 * 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 D | closure.t | 439 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 D | errlist | 72 32 Broken pipe
|
/osnet-11/usr/src/lib/libshell/amd64/include/ast/ |
H A D | shell.h | 248 # define pipe(a) sh_pipe(a) macro
|
/osnet-11/usr/src/lib/libshell/i386/include/ast/ |
H A D | shell.h | 248 # define pipe(a) sh_pipe(a) macro
|
/osnet-11/usr/src/lib/libshell/sparc/include/ast/ |
H A D | shell.h | 248 # define pipe(a) sh_pipe(a) macro
|
/osnet-11/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | shell.h | 248 # define pipe(a) sh_pipe(a) macro
|
/osnet-11/usr/src/lib/libnetcfg/common/ |
H A D | libnetcfg_zio.c | 337 if (zoneid != GLOBAL_ZONEID && pipe(p) == -1)
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/t/ |
H A D | posix.t | 47 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 D | Functions.t | 127 pipe, qx/STRING/, readpipe, setpgrp, setpriority, sleep,
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfpkrd.c | 208 * 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 D | sfhdr.h | 117 #define syspipef pipe 292 #define syspipef pipe
|
/osnet-11/usr/src/lib/libc/port/stdio/ |
H A D | popen.c | 141 * 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 D | runcmd.c | 57 /* 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 D | wordexp.c | 93 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 D | worker.c | 33 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 D | XSUB.h | 470 # define pipe PerlProc_pipe macro
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Safe/t/ |
H A D | safeops.t | 262 pipe_op pipe FOO,BAR
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | svc_run.c | 109 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.
|