syscall.sh / mipsn32 / msgrcv
msgrcv
System V message queue operations
compat_sys_msgrcv(int msqid, struct msgbuf *msgp, size_t msgsz, long msgtyp, int msgflg)
| number | 6068 (0x17b4) |
|---|---|
| abi | n32 |
| entry point | compat_sys_msgrcv |
| since | Linux 5.0 |
| man page | msgrcv(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6068, the syscall number |
a0 | int msqid |
a1 | struct msgbuf *msgp |
a2 | size_t msgsz |
a3 | long msgtyp |
a4 | int msgflg |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 70
- x86 401
- arm64 188
- arm 302
- riscv64 188
- x32 1073741894
- loongarch64 188
- ppc64 401
- ppc 401
- s390x 401
- mips64 5068
- mipso32 4401
- alpha 202
- arc 188
- csky 188
- hexagon 188
- m68k 401
- microblaze 333
- nios2 188
- openrisc 188
- parisc 189
- sh 401
- sparc 401
- sparc64 401
- xtensa 168
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/msgrcv