syscall.sh / sh / msgsnd

msgsnd

System V message queue operations

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

Registers

registervalue
r3400, the syscall number
r4int msqid
r5struct msgbuf *msgp
r6size_t msgsz
r7int msgflg
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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