sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
1
2
3
4
5
6
7
8
9
// Since `libc` 0.2.190, these items are available only on macOS, even though iOS also has them.
unsafe extern "C" {
    static mach_task_self_: libc::mach_port_t;
    pub fn mach_host_self() -> libc::mach_port_t;
}

pub(crate) unsafe fn mach_task_self() -> libc::mach_port_t {
    unsafe { mach_task_self_ }
}