syscall.sh / arc / msgsnd

msgsnd

System V message queue operations

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

Registers

registervalue
r8189, the syscall number
r0int msqid
r1struct msgbuf *msgp
r2size_t msgsz
r3int msgflg
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/msgsnd