Lines Matching defs:fdin
144 register int fdin;
280 fdin = 0;
291 fdin = (int)strtol(name+8, (char**)0, 10);
292 if(fstat(fdin,&statb)<0)
318 if((fdin=sh_open(name,O_RDONLY,0))>=0 &&(fstat(fdin,&statb)<0 || S_ISDIR(statb.st_mode)))
320 close(fdin);
322 fdin = -1;
327 if(fdin < 0 && !strchr(name,'/'))
337 if((fdin=sh_open(sp,O_RDONLY,0))>=0)
341 if(fdin<0)
356 if(fdin==0)
357 fdin = sh_iomovefd(fdin);
365 if(fdin != 0)
372 fdin = shp->infd;
378 exfile(shp,iop,fdin);
386 * fdin is the input file descriptor