libc 0.2.10

A library for types and bindings to native C functions often found in libc or other common platform libraries.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub type mode_t = u32;

s! {
    pub struct sigaction {
        pub sa_flags: ::c_uint,
        pub sa_sigaction: ::sighandler_t,
        pub sa_mask: ::sigset_t,
        _restorer: *mut ::c_void,
    }
}

pub const SYS_gettid: ::c_long = 178;