syscall.sh / xtensa / msgrcv

msgrcv

System V message queue operations

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

Registers

registervalue
a2168, the syscall number
a6int msqid
a3struct msgbuf *msgp
a4size_t msgsz
a5long msgtyp
a8int msgflg
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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