syscall.sh / sparc64 / 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
g1401, the syscall number
o0int msqid
o1struct msgbuf *msgp
o2size_t msgsz
o3long msgtyp
o4int msgflg
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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