#open-file #limit #anyhow #freebsd #linux

file_open_limit

get the file open limit ( windows / mac / linux / freebsd )

4 releases

0.0.5 Jul 12, 2022
0.0.4 Jul 12, 2022
0.0.3 Jul 12, 2022
0.0.1 Jul 12, 2022

#33 in #anyhow


Used in file_cache

Apache-2.0

3KB

file_open_limit

get the file open limit ( windows / mac / linux / freebsd )

use example

use anyhow::Result;

fn main() -> Result<()> {
    dbg!(file_open_limit::get()?);
    Ok(())
}

Dependencies

~225KB