syscall.sh / ppc64 / semtimedop

semtimedop

System V semaphore operations

sys_semtimedop(int semid, struct sembuf *sops, unsigned nsops, const struct __kernel_timespec *timeout)
number392 (0x188)
abi64
entry pointsys_semtimedop
sinceLinux 5.1
man pagesemtimedop(2)
sourceelixir.bootlin.com

Registers

registervalue
r0392, the syscall number
r3int semid
r4struct sembuf *sops
r5unsigned nsops
r6const struct __kernel_timespec *timeout
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/semtimedop