1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Arena operations.
use io;
use ;
use ;
const NARENAS: *const c_char = b"arenas.narenas\0" as *const _ as *const _;
/// Returns the current limit on the number of arenas.
///
/// # Examples
///
/// ```
/// println!("number of arenas: {}", jemalloc_ctl::arenas::narenas().unwrap());
/// ```
/// A type providing access to the current limit on the number of arenas.
///
/// # Examples
///
/// ```
/// use jemalloc_ctl::arenas::NArenas;
///
/// let narenas = NArenas::new().unwrap();
///
/// println!("number of arenas: {}", narenas.get().unwrap());
/// ```
;