syscall.sh / mips64 / semctl

semctl

System V semaphore control operations

sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg)
number5064 (0x13c8)
abin64
entry pointsys_old_semctl
sinceLinux 5.0
man pagesemctl(2)
sourceelixir.bootlin.com

Registers

registervalue
v05064, the syscall number
a0int semid
a1int semnum
a2int cmd
a3unsigned long arg
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/semctl