Lines Matching refs:clockid_t
60 pub struct clockid_t(*const u8);
63 unsafe impl Send for clockid_t {} implementation
64 unsafe impl Sync for clockid_t {} implementation
372 pub static CLOCK_MONOTONIC: clockid_t =
373 unsafe { clockid_t(core::ptr::addr_of!(_CLOCK_MONOTONIC)) };
375 pub static CLOCK_PROCESS_CPUTIME_ID: clockid_t =
376 unsafe { clockid_t(core::ptr::addr_of!(_CLOCK_PROCESS_CPUTIME_ID)) };
378 pub static CLOCK_REALTIME: clockid_t =
379 unsafe { clockid_t(core::ptr::addr_of!(_CLOCK_REALTIME)) };
381 pub static CLOCK_THREAD_CPUTIME_ID: clockid_t =
382 unsafe { clockid_t(core::ptr::addr_of!(_CLOCK_THREAD_CPUTIME_ID)) };
558 pub fn clock_getres(a: clockid_t, b: *mut timespec) -> c_int; in clock_getres() argument
559 pub fn clock_gettime(a: clockid_t, b: *mut timespec) -> c_int; in clock_gettime() argument
560 pub fn clock_nanosleep(a: clockid_t, a2: c_int, b: *const timespec, c: *mut timespec) -> c_int; in clock_nanosleep() argument