syscall.sh / x86 / msgsnd

msgsnd

System V message queue operations

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

Registers

registervalue
eax400, the syscall number
ebxint msqid
ecxstruct msgbuf *msgp
edxsize_t msgsz
esiint msgflg
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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