Searched refs:fifo (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/ksh93/tests/
H A Dio.sh340 if mkfifo $tmp/fifo 2> /dev/null
341 then (print -n a; sleep 2; print -n bcde) > $tmp/fifo &
343 read -u5 -n3 -t3 a || err_exit 'read -n3 from fifo timed out'
344 read -u5 -n1 -t3 b || err_exit 'read -n1 from fifo timed out'
345 } 5< $tmp/fifo
348 [[ $got == "$exp" ]] || err_exit "read -n3 from fifo failed -- expected '$exp', got '$got'"
351 [[ $got == "$exp" ]] || err_exit "read -n1 from fifo failed -- expected '$exp', got '$got'"
352 rm -f $tmp/fifo
354 mkfifo $tmp/fifo 2> /dev/null
355 (print -n a; sleep 2; print -n bcde) > $tmp/fifo
[all...]
/ast/src/lib/libcmd/
H A Dtail.c63 "or fifo.]"
143 int fifo; member in struct:Tail_s
263 tp->fifo = 0;
310 tp->fifo = 1;
652 else if (fp->fifo || fp->end < st.st_size)
657 z = fp->fifo ? SF_UNBOUND : st.st_size - fp->cur;
/ast/src/cmd/ksh93/sh/
H A Dargs.c799 shp->fifo = pathtemp(0,0,0,"ksh.fifo",0);
800 mkfifo(shp->fifo,S_IRUSR|S_IWUSR);
801 sfputr(shp->stk,shp->fifo,0);
826 free(shp->fifo);
827 shp->fifo = 0;
H A Dxec.c93 unlink(shp->fifo);
1796 if(shp->fifo && (type&(FPIN|FPOU)))
1800 fn = sh_open(shp->fifo,fd?O_WRONLY:O_RDONLY);
1805 unlink(shp->fifo);
1806 free(shp->fifo);
1807 shp->fifo = 0;
/ast/src/cmd/ksh93/include/
H A Ddefs.h178 char *fifo; /* fifo name for process sub */ \

Completed in 27 milliseconds