Searched defs:pipe (Results 1 - 4 of 4) sorted by relevance

/ast/src/cmd/ksh93/tests/
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/ksh93/include/
H A Dshell.h240 # define pipe(a) sh_pipe(a) macro
/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...]
H A Dio.c96 # 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
98 # 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
513 * A discipline is inserted when read stream is a tty or a pipe
886 * create a pipe and print message on failure
892 if(pipe(fd)<0 || (pv[0]=fd[0])<0 || (pv[1]=fd[1])<0)
903 #ifndef pipe
909 # undef pipe macro
910 /* create a real pipe when pipe() is socketpair */
915 if(pipe(f
[all...]

Completed in 30 milliseconds