Lines Matching refs:STDIN_FILENO
391 if (fd == STDIN_FILENO) in sread()
850 if ((fd == -1 && pipe(fdp[STDIN_FILENO]) == -1) || in uncompressbuf()
852 closep(fdp[STDIN_FILENO]); in uncompressbuf()
874 if (copydesc(STDIN_FILENO, fd)) in uncompressbuf()
877 if (copydesc(STDIN_FILENO, fdp[STDIN_FILENO][0])) in uncompressbuf()
878 (void) close(fdp[STDIN_FILENO][0]); in uncompressbuf()
879 if (fdp[STDIN_FILENO][1] > 2) in uncompressbuf()
880 (void) close(fdp[STDIN_FILENO][1]); in uncompressbuf()
905 closefd(fdp[STDIN_FILENO], 0); in uncompressbuf()
906 writepid = writechild(fdp[STDIN_FILENO][1], old, *n); in uncompressbuf()
907 closefd(fdp[STDIN_FILENO], 1); in uncompressbuf()
942 closefd(fdp[STDIN_FILENO], 1); in uncompressbuf()
967 closefd(fdp[STDIN_FILENO], 0); //why? it is already closed here! in uncompressbuf()