Searched refs:_SC_OPEN_MAX (Results 1 – 24 of 24) sorted by relevance
69 for (i = 0; i < sysconf(_SC_OPEN_MAX); i++) in child_fn()
97 maxfd = sysconf(_SC_OPEN_MAX); in closefrom()
165 maxfds = sysconf(_SC_OPEN_MAX); in setup()
109 max_fd = sysconf(_SC_OPEN_MAX); in dbgsysExec()
63 #define OPEN_MAX (sysconf(_SC_OPEN_MAX))
86 test_sysconf(_SC_OPEN_MAX); in main()
466 #if defined(HAVE_SYSCONF) && defined(_SC_OPEN_MAX) in close_all_fds()467 max = sysconf(_SC_OPEN_MAX); in close_all_fds()
202 #ifdef _SC_OPEN_MAX in safe_get_max_fd()203 local_max_fd = sysconf(_SC_OPEN_MAX); in safe_get_max_fd()
10388 #ifdef _SC_OPEN_MAX10389 {"SC_OPEN_MAX", _SC_OPEN_MAX},
110 _SC_OPEN_MAX = 5 variable
57 #define _SC_OPEN_MAX 3 macro
1166 #if defined(MAGICKCORE_HAVE_SYSCONF) && defined(_SC_OPEN_MAX) in ResourceComponentGenesis()1167 files=(ssize_t) sysconf(_SC_OPEN_MAX); in ResourceComponentGenesis()
2543 case _SC_OPEN_MAX: in NTSystemConfiguration()
375 for (int fd = sysconf(_SC_OPEN_MAX); fd > 2; fd--) internal_close(fd); in StartSubprocess()
666 # define SSH_SYSFDMAX sysconf(_SC_OPEN_MAX)
100 const long kMaxFd = sysconf(_SC_OPEN_MAX); in closeUnwantedFileDescriptors()135 long i, max_fd = sysconf(_SC_OPEN_MAX); in main()
569 maxfd = sysconf(_SC_OPEN_MAX); in daemon_close_allv()
197 _SC_OPEN_MAX = 5 variable
194 _SC_OPEN_MAX = 5 variable
254 for (i = sysconf(_SC_OPEN_MAX); i > 0; i--) { in privsep_init()
246 if ((open_max = sysconf(_SC_OPEN_MAX)) == -1) { in do_fork()
323 Use sysconf(_SC_OPEN_MAX) instead of OPEN_MAX.
8296 #ifdef _SC_OPEN_MAX8297 {"SC_OPEN_MAX", _SC_OPEN_MAX},
3841 case _SC_OPEN_MAX: { in LSS_NAME()