Searched refs:open_max (Results 1 – 7 of 7) sorted by relevance
167 int open_max; in b_fds() local213 if ((open_max = getconf("OPEN_MAX")) <= 0) in b_fds()214 open_max = OPEN_MAX; in b_fds()219 for (i = 0; i <= open_max; i++) in b_fds()
97 (((fd) >= (shp)->gd->lim.open_max) ? sh_iovalidfd(shp, fd) : 1)
105 int open_max; /* maximum number of file descriptors */ member
384 for(i=0; i< sh.lim.open_max; i++) in putval()
413 if(fd < shp->gd->lim.open_max) in sh_iovalidfd()424 max = shp->gd->lim.open_max; in sh_iovalidfd()436 shp->gd->lim.open_max = n; in sh_iovalidfd()442 return(fd < shp->gd->lim.open_max && shp->fdptrs[fd]); in sh_inuse()1698 for(savefd=shp->gd->lim.open_max; --savefd>=0; ) in sh_iosave()
1395 for(fd=0; fd < shp->gd->lim.open_max; fd++) in sh_exec()
897 dump when fd was greater than open_max.899 ulimit for open_max is increased as part of the script.