Searched refs:infd (Results 1 - 6 of 6) 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
506 if (infd > READ) {
512 fcntl(infd, F_SETFD, 1);
514 if (dup(infd) != READ) {
521 else infd = -1;
553 if (infd > READ) {
/ast/src/cmd/ksh93/sh/
H A Dpath.c1275 if(shp->infd>0 && (shp->fdstatus[shp->infd]&IOCLEX))
1276 sh_close(shp->infd);
1325 shp->infd = n;
1328 if((shp->infd = sh_open(path,O_RDONLY,0)) < 0)
1331 shp->infd = sh_iomovefd(shp->infd);
H A Dmain.c347 fdin = shp->infd;
394 shp->infd = fno;
H A Dio.c600 if(f2==shp->infd)
601 shp->infd = fd;
1494 if(sh_inuse(shp,fn) || (fn && fn==shp->infd))
H A Dxec.c1387 if((shp->fdstatus[fd]&IOCLEX)&&fd!=shp->infd)
/ast/src/cmd/ksh93/include/
H A Ddefs.h167 int infd; /* input file descriptor */ \

Completed in 36 milliseconds