libc 0.2.186

Raw FFI bindings to platform libraries like libc.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Header: `sys/time.h`
//!
//! <https://github.com/NetBSD/src/blob/trunk/sys/sys/time.h>

s! {
    pub struct itimerspec {
        pub it_interval: crate::timespec,
        pub it_value: crate::timespec,
    }
}

pub const CLOCK_VIRTUAL: crate::clockid_t = 1;
pub const CLOCK_PROF: crate::clockid_t = 2;
pub const CLOCK_THREAD_CPUTIME_ID: crate::clockid_t = 0x20000000;
pub const CLOCK_PROCESS_CPUTIME_ID: crate::clockid_t = 0x40000000;