Searched refs:outfd (Results 1 - 2 of 2) sorted by relevance

/ast/src/cmd/mailx/
H A Dproc.c462 run_command(char* cmd, int critical, int infd, int outfd, char* a0, char* a1, char* a2) argument
467 if ((pid = start_command(cmd, critical, infd, outfd, a0, a1, a2)) < 0)
479 start_command(char* cmd, int critical, int infd, int outfd, char* a0, char* a1, char* a2) argument
522 if (outfd > WRITE) {
528 fcntl(outfd, F_SETFD, 1);
530 if (dup(outfd) != WRITE) {
540 outfd = -1;
562 if (outfd > WRITE) {
/ast/src/cmd/ksh93/sh/
H A Dxec.c3614 int outfd; local
3623 if((outfd=shp->cpipe[1]) < 10)
3628 shp->fdstatus[fd] = (shp->fdstatus[outfd]&~IOCLEX);
3629 close(outfd);
3630 shp->fdstatus[outfd] = IOCLOSE;

Completed in 761 milliseconds