Function procfs::sys::fs::file_max

source ·
pub fn file_max() -> ProcResult<usize>
Expand description

Get the system-wide limit on the number of open files for all processes.

System calls that fail when encoun‐ tering this limit fail with the error ENFILE.