Searched refs:pipe (Results 1 - 25 of 35) sorted by relevance

12

/ast/src/lib/libcs/
H A Dcspipe.c25 * create bi-directional local pipe
42 return pipe(fds);
/ast/src/cmd/ksh93/tests/
H A Dcoprocess.sh72 ping pipe |&
75 for i in three four pipe four pipe four three pipe pipe three pipe
79 pipe) to=-p;;
95 pipe) ;;
H A Doptions.sh237 pipefail pipe-fail pipe_fail \
401 (( $? )) || err_exit 'pipe not failing in subshell with pipefail'
407 pipe() { date | cat > /dev/null ;} function
410 do if pipe $tmp
512 # pipe hang bug fixed 2011-03-15
/ast/src/cmd/tests/sfio/
H A Dtmpread.c23 ** from a piped-stream correctly even if the other end of the pipe
36 if(pipe(p) < 0 )
37 terror("Making pipe for communication");
52 terror("Write to pipe failed i=%d", i);
57 terror("Read from pipe failed i=%d", i);
H A Dtpipemove.c29 if(pipe(fd) < 0)
30 terror("Can't open pipe");
34 terror("Can't open pipe streams");
44 terror("Writing to pipe w=%d",w);
H A Dtpkrd.c32 terror("Writing to pipe");
41 if(pipe(Fd) < 0)
42 terror("Can't make pipe");
55 terror("Couldn't write to pipe");
H A Dtstkpk.c30 if(pipe(fd) < 0 || fd[0] != 0)
31 terror("Making pipe");
41 terror("Writing ab to pipe");
49 terror("Writing cd to pipe");
H A Dtpipe.c49 if(pipe(fd) < 0)
50 terror("Can't open pipe");
60 terror("Can't read data from pipe");
71 if(pipe(fd) < 0)
113 terror("Bad write to pipe");
144 /* test for handling pipe error */
145 if(pipe(fd) < 0)
146 terror("Can't create pipe");
H A Dterrno.c65 if(pipe(fds) < 0)
69 terror("Can't create stream for pipe");
73 terror("sfseek should have failed on a pipe");
H A Dtrcrv.c41 if(pipe(fd) < 0)
42 terror("Can't open pipe");
H A Dtmprdwr.c121 if(pipe(parent) < 0 || pipe(child) < 0)
H A Dtpoll.c43 if(pipe(fd) < 0)
44 terror("pipe failed");
48 terror("Opening read pipe stream");
51 terror("Opening write pipe stream");
77 terror("Both str&pipe write should be available");
79 if(pipe(fd) < 0)
80 terror("Can't create pipe");
86 terror("Can't write to pipe");
97 terror("Writing to pipe");
H A Dtalarm.c79 if(pipe(fd) < 0)
80 terror("Can't make pipe");
113 terror("Writing to pipe");
H A Dtclose.c67 if(pipe(fd) < 0)
H A Dtsync.c97 /* redirect stdout to a pipe */
98 if(pipe(p1) < 0 || close(1) < 0 || dup(p1[1]) != 1)
101 /* redirect stdin to a pipe with some input */
103 if(pipe(p2) < 0)
106 terror("Writing to pipe");
/ast/src/cmd/3d/features/
H A Dpeek.c44 if (pipe(fds) || write(fds[1], msg, sizeof(msg)) != sizeof(msg))
/ast/src/cmd/3d/
H A Dpipe3d.c65 NoN(pipe)
H A Dlib.c81 n = pipe(fds);
92 n = pipe(fds);
/ast/src/lib/libtk/compat/
H A Dunistd.h58 extern int pipe _ANSI_ARGS_((int *fildes));
/ast/src/cmd/ksh93/include/
H A Dshell.h240 # define pipe(a) sh_pipe(a) macro
/ast/src/lib/libast/comp/
H A Dspawnveg.c189 if (pipe(err) < 0)
/ast/src/cmd/ksh93/sh/
H A Dsubshell.c70 struct subshell *pipe; /* subshell where output goes to pipe on fork */ member in struct:subshell
90 short pipefd; /* read fd if pipe is created */
114 * This routine will turn the sftmp() file into a real /tmp file or pipe
123 register struct subshell *sp = subshell_data->pipe;
137 /* unable to create the /tmp file so use a pipe */
144 /* write the data to the pipe */
189 if(sp->pipe)
598 sp->pipe = sp;
619 sp->pipe
[all...]
/ast/src/lib/libast/misc/
H A Dprocopen.c391 * pipe not used when PROC_READ|PROC_WRITE omitted
484 if (pipe(pio))
493 if (pipe(pio) || pipe(poi))
497 else if (pipe(pio))
535 if ((flags & PROC_ORPHAN) && pipe(pop))
/ast/src/lib/libcoshell/
H A Dcoopen.c202 if (pipe(&pio[0]) < 0 || pipe(&pio[2]) < 0)
/ast/src/lib/libast/sfio/
H A Dsfpkrd.c226 #if __MACH__ && __APPLE__ /* check 10.4 recv(MSG_PEEK) bug that consumes pipe data */
234 /* open a pipe and write to it */
236 if(recv_peek_pipe == 1 && pipe(fds) < 0)

Completed in 1302 milliseconds

12