Lines Matching defs:fdin
124 register int fdin;
257 fdin = 0;
268 fdin = (int)strtol(name+8, (char**)0, 10);
269 if(fstat(fdin,&statb)<0)
293 if((fdin=sh_open(name,O_RDONLY,0))>=0 &&(fstat(fdin,&statb)<0 || S_ISDIR(statb.st_mode)))
295 close(fdin);
297 fdin = -1;
302 if(fdin < 0 && !strchr(name,'/'))
312 if((fdin=sh_open(sp,O_RDONLY,0))>=0)
316 if(fdin<0)
331 if(fdin==0)
332 fdin = sh_iomovefd(fdin);
340 if(fdin != 0)
347 fdin = shp->infd;
353 exfile(shp,iop,fdin);
361 * fdin is the input file descriptor