Home
last modified time | relevance | path

Searched refs:maxfd (Results 1 – 5 of 5) sorted by relevance

/glibc-2.36/posix/
Dtst-posix_spawn-fd.c28 static long maxfd; variable
74 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()
Dspawn_valid_fd.c26 long maxfd = __sysconf (_SC_OPEN_MAX); in __spawn_valid_fd() local
28 && (__glibc_unlikely (maxfd < 0) /* No limit set. */ in __spawn_valid_fd()
29 || __glibc_likely (fd < maxfd)); in __spawn_valid_fd()
/glibc-2.36/io/
Dclose_range.c34 int maxfd = __getdtablesize (); in __close_range() local
35 if (maxfd == -1) in __close_range()
38 for (int i = first; i <= last && i < maxfd; i++) in __close_range()
/glibc-2.36/support/
Dsupport-open-dev-null-range.c95 int maxfd = r->ranges[i].lowfd + r->ranges[i].len; in range_close() local
96 for (int fd = minfd; fd < maxfd; fd++) in range_close()
/glibc-2.36/manual/
Dllio.texi287 @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} in
318 The @var{lowfd} value is larger than @var{maxfd} or an unsupported @var{flags}