syscall.sh / s390x / 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
r1400, the syscall number
r2int msqid
r3struct msgbuf *msgp
r4size_t msgsz
r5int msgflg
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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