Searched refs:maxfd (Results 1 – 5 of 5) sorted by relevance
28 static long maxfd; variable74 if (maxfd >= 0) in all_tests()75 one_test (name, func, maxfd, false); in all_tests()128 maxfd = sysconf (_SC_OPEN_MAX); in do_test()129 printf ("info: _SC_OPEN_MAX: %ld\n", maxfd); in do_test()
26 long maxfd = __sysconf (_SC_OPEN_MAX); in __spawn_valid_fd() local28 && (__glibc_unlikely (maxfd < 0) /* No limit set. */ in __spawn_valid_fd()29 || __glibc_likely (fd < maxfd)); in __spawn_valid_fd()
34 int maxfd = __getdtablesize (); in __close_range() local35 if (maxfd == -1) in __close_range()38 for (int i = first; i <= last && i < maxfd; i++) in __close_range()
95 int maxfd = r->ranges[i].lowfd + r->ranges[i].len; in range_close() local96 for (int fd = minfd; fd < maxfd; fd++) in range_close()
287 @deftypefun int close_range (unsigned int @var{lowfd}, unsigned int @var{maxfd}, int @var{flags})294 to @var{maxfd} (inclusive). This function is similar to call @code{close} in318 The @var{lowfd} value is larger than @var{maxfd} or an unsupported @var{flags}