syscall.sh / hexagon / semtimedop
semtimedop
System V semaphore operations
sys_semtimedop_time32(int semid, struct sembuf *sops, unsigned nsops, const struct old_timespec32 *timeout)
| number | 192 (0xc0) |
|---|---|
| abi | time32 |
| entry point | sys_semtimedop_time32 |
| since | Linux 3.7 |
| man page | semtimedop(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r6 | 192, the syscall number |
r0 | int semid |
r1 | struct sembuf *sops |
r2 | unsigned nsops |
r3 | const struct old_timespec32 *timeout |
r0 | the return value |
Then run trap0(#1) to enter the kernel.
Same syscall on other architectures
- x64 220
- arm64 192
- arm 312
- riscv64 192
- x32 1073742044
- loongarch64 192
- ppc64 392
- s390x 392
- mips64 5214
- mipsn32 6215
- alpha 423
- arc 192
- csky 192
- microblaze 325
- nios2 192
- openrisc 192
- parisc 228
- sparc64 392
- xtensa 161
Get this as JSON: https://api.syscall.sh/v2/syscalls/hexagon/semtimedop