Function clock_nanosleep [src]

Prototype

pub fn clock_nanosleep(clockid: clockid_t, flags: TIMER, request: *const timespec, remain: ?*timespec) usize

Parameters

clockid: clockid_tflags: TIMERrequest: *const timespecremain: ?*timespec

Source

pub fn clock_nanosleep(clockid: clockid_t, flags: TIMER, request: *const timespec, remain: ?*timespec) usize { return syscall4( .clock_nanosleep, @intFromEnum(clockid), @as(u32, @bitCast(flags)), @intFromPtr(request), @intFromPtr(remain), ); }