cidre 0.16.0

Apple frameworks bindings for rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::ffi::c_long;

pub use crate::mach::Port as MachPort;

pub type Pid = i32;

#[doc(alias = "__darwin_time_t")]
pub type DarwinTime = c_long;

#[doc(alias = "timespec")]
#[derive(PartialEq, Eq, Debug, Copy, Clone)]
#[repr(C)]
pub struct TimeSpec {
    pub tv_sec: DarwinTime,
    pub tv_nsec: c_long,
}