Lines Matching refs:fds
43 int fdset_new_array(FDSet **ret, const int *fds, unsigned n_fds) {
56 r = fdset_put(s, fds[i]);
77 * connection fds and suchlike are closed here, which
190 /* We won't close the fds here! */
197 int fdset_cloexec(FDSet *fds, bool b) {
202 assert(fds);
204 SET_FOREACH(p, MAKE_SET(fds), i) {
245 int fdset_close_others(FDSet *fds) {
251 j = 0, m = fdset_size(fds);
253 SET_FOREACH(e, MAKE_SET(fds), i)
261 unsigned fdset_size(FDSet *fds) {
262 return set_size(MAKE_SET(fds));
265 bool fdset_isempty(FDSet *fds) {
266 return set_isempty(MAKE_SET(fds));
278 int fdset_steal_first(FDSet *fds) {
281 p = set_steal_first(MAKE_SET(fds));