Searched refs:fdmaxrl (Results 1 – 1 of 1) sorted by relevance
39 struct rlimit fdmaxrl; in increase_max_fds() local41 for (fdmaxrl.rlim_cur = max_fds, fdmaxrl.rlim_max = max_fds; in increase_max_fds()42 max_fds && (setrlimit(RLIMIT_NOFILE, &fdmaxrl) < 0); in increase_max_fds()43 fdmaxrl.rlim_cur = max_fds, fdmaxrl.rlim_max = max_fds) { in increase_max_fds()47 return static_cast<int>(fdmaxrl.rlim_cur); in increase_max_fds()