syscall.sh / m68k / 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)
| number | 262 (0x106) |
|---|---|
| abi | common |
| entry point | sys_clock_nanosleep_time32 |
| since | Linux 5.0 |
| man page | clock_nanosleep(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 262, the syscall number |
d1 | clockid_t which_clock |
d2 | int flags |
d3 | struct old_timespec32 *rqtp |
d4 | struct old_timespec32 *rmtp |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
- x64 230
- x86 267
- arm64 115
- arm 265
- riscv64 115
- x32 1073742054
- loongarch64 115
- ppc64 248
- ppc 248
- s390x 262
- mips64 5224
- mipsn32 6228
- mipso32 4265
- alpha 422
- arc 115
- csky 115
- hexagon 115
- microblaze 267
- nios2 115
- openrisc 115
- parisc 258
- sh 267
- sparc 259
- sparc64 259
- xtensa 247
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/clock_nanosleep