syscall.sh / xtensa / msgsnd

msgsnd

System V message queue operations

sys_msgsnd(int msqid, struct msgbuf *msgp, size_t msgsz, int msgflg)
number167 (0xa7)
abicommon
entry pointsys_msgsnd
sinceLinux 5.0
man pagemsgsnd(2)
sourceelixir.bootlin.com

Registers

registervalue
a2167, the syscall number
a6int msqid
a3struct msgbuf *msgp
a4size_t msgsz
a5int msgflg
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/msgsnd