Lines Matching refs:lowfd
75 * Close all file descriptors greater than or equal to lowfd.
79 closefrom_fallback(int lowfd)
96 for (fd = lowfd; fd < maxfd; fd++)
101 * Close all file descriptors greater than or equal to lowfd.
106 closefrom(int lowfd)
108 if (fcntl(lowfd, F_CLOSEM, 0) == -1)
109 closefrom_fallback(lowfd);
113 closefrom(int lowfd)
119 for (fd = lowfd; fd <= pstat.pst_highestfd; fd++)
122 closefrom_fallback(lowfd);
127 closefrom_procfs(int lowfd)
152 fd = strtonum(dent->d_name, lowfd, INT_MAX, &errstr);
185 closefrom(int lowfd)
187 if (closefrom_procfs(lowfd) == 0)
190 closefrom_fallback(lowfd);