syscall.sh / m68k / clock_nanosleep_time64

clock_nanosleep_time64

high-resolution sleep with specifiable clock

sys_clock_nanosleep(clockid_t which_clock, int flags, const struct __kernel_timespec *rqtp, struct __kernel_timespec *rmtp)
number407 (0x197)
abicommon
entry pointsys_clock_nanosleep
sinceLinux 5.1
man pageclock_nanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
d0407, the syscall number
d1clockid_t which_clock
d2int flags
d3const struct __kernel_timespec *rqtp
d4struct __kernel_timespec *rmtp
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/clock_nanosleep_time64