syscall.sh / m68k / msgrcv

msgrcv

System V message queue operations

sys_msgrcv(int msqid, struct msgbuf *msgp, size_t msgsz, long msgtyp, int msgflg)
number401 (0x191)
abicommon
entry pointsys_msgrcv
sinceLinux 5.1
man pagemsgrcv(2)
sourceelixir.bootlin.com

Registers

registervalue
d0401, the syscall number
d1int msqid
d2struct msgbuf *msgp
d3size_t msgsz
d4long msgtyp
d5int msgflg
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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