syscall.sh / x64 / msgsnd

msgsnd

System V message queue operations

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

Registers

registervalue
rax69, the syscall number
rdiint msqid
rsistruct msgbuf *msgp
rdxsize_t msgsz
r10int msgflg
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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