syscall.sh / xtensa / msgctl

msgctl

System V message control operations

sys_old_msgctl(int msqid, int cmd, struct msqid_ds *buf)
number169 (0xa9)
abicommon
entry pointsys_old_msgctl
sinceLinux 5.0
man pagemsgctl(2)
sourceelixir.bootlin.com

Registers

registervalue
a2169, the syscall number
a6int msqid
a3int cmd
a4struct msqid_ds *buf
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/msgctl