syscall.sh / openrisc / clock_nanosleep

clock_nanosleep

high-resolution sleep with specifiable clock

sys_clock_nanosleep_time32(clockid_t which_clock, int flags, struct old_timespec32 *rqtp, struct old_timespec32 *rmtp)
number115 (0x73)
abitime32
entry pointsys_clock_nanosleep_time32
sinceLinux 3.7
man pageclock_nanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
r11115, the syscall number
r3clockid_t which_clock
r4int flags
r5struct old_timespec32 *rqtp
r6struct old_timespec32 *rmtp
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/clock_nanosleep