syscall.sh / x32 / msgsnd

msgsnd

System V message queue operations

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

Registers

registervalue
rax1073741893, 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/x32/msgsnd