libc 1.0.0-alpha.4

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/qos.h`
//!
//! <https://github.com/apple-oss-distributions/libpthread/blob/main/include/sys/qos.h>

c_enum! {
    #[repr(u32)]
    pub enum qos_class_t {
        pub QOS_CLASS_USER_INTERACTIVE = 0x21,
        pub QOS_CLASS_USER_INITIATED = 0x19,
        pub QOS_CLASS_DEFAULT = 0x15,
        pub QOS_CLASS_UTILITY = 0x11,
        pub QOS_CLASS_BACKGROUND = 0x09,
        pub QOS_CLASS_UNSPECIFIED = 0x00,
    }
}