Searched refs:_SC_OPEN_MAX (Results 1 – 23 of 23) sorted by relevance
38 #ifdef _SC_OPEN_MAX in closefrom()39 max = sysconf(_SC_OPEN_MAX); in closefrom()
69 for (i = 0; i < sysconf(_SC_OPEN_MAX); i++) in child_fn()
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()
195 #ifdef _SC_OPEN_MAX in safe_get_max_fd()196 local_max_fd = sysconf(_SC_OPEN_MAX); in safe_get_max_fd()
9981 #ifdef _SC_OPEN_MAX9982 {"SC_OPEN_MAX", _SC_OPEN_MAX},
57 #define _SC_OPEN_MAX 3 macro
1118 #if defined(MAGICKCORE_HAVE_SYSCONF) && defined(_SC_OPEN_MAX) in ResourceComponentGenesis()1119 files=(ssize_t) sysconf(_SC_OPEN_MAX); in ResourceComponentGenesis()
2505 case _SC_OPEN_MAX: in NTSystemConfiguration()
110 _SC_OPEN_MAX = 5 variable
375 for (int fd = sysconf(_SC_OPEN_MAX); fd > 2; fd--) internal_close(fd); in StartSubprocess()
99 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.
8262 #ifdef _SC_OPEN_MAX8263 {"SC_OPEN_MAX", _SC_OPEN_MAX},
3841 case _SC_OPEN_MAX: { in LSS_NAME()