Searched defs:Timespec (Results 1 – 7 of 7) sorted by relevance
20 pub fn clock_getres(id: ClockId) -> Timespec { in clock_getres()40 pub fn clock_gettime(id: ClockId) -> Timespec { in clock_gettime()54 pub fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic()
48 pub(crate) fn clock_getres(id: ClockId) -> Timespec { in clock_getres()82 unsafe fn clock_getres_old(id: ClockId) -> Timespec { in clock_getres_old()99 pub(crate) fn clock_gettime(id: ClockId) -> Timespec { in clock_gettime()138 unsafe fn clock_gettime_old(id: ClockId) -> Timespec { in clock_gettime_old()154 pub(crate) fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic()220 unsafe fn clock_gettime_dynamic_old(id: c::clockid_t) -> io::Result<Timespec> { in clock_gettime_dynamic_old()
12 pub type Timespec = c::timespec; typedef21 pub struct Timespec { struct29 /// A type for the `tv_sec` field of [`Timespec`]. argument84 impl From<LibcTimespec> for Timespec { implementation
46 pub(crate) fn clock_gettime_dynamic(which_clock: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic()243 res: *mut Timespec, in rustix_clock_gettime_via_syscall()254 res: *mut Timespec, in _rustix_clock_gettime_via_syscall()266 res: *mut Timespec, in _rustix_clock_gettime_via_syscall_old()291 res: *mut Timespec, in _rustix_clock_gettime_via_syscall()
33 utime: *const Timespec, in futex()
224 utime: *const Timespec, in futex()267 utime: *const Timespec, in futex_old()
6 pub type Timespec = linux_raw_sys::general::__kernel_timespec; typedef