syscall.sh / sparc64 / mq_timedreceive
mq_timedreceive
receive a message from a message queue
sys_mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned int *msg_prio, const struct __kernel_timespec *abs_timeout)
| number | 276 (0x114) |
|---|---|
| abi | 64 |
| entry point | sys_mq_timedreceive |
| since | Linux 5.0 |
| man page | mq_timedreceive(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 276, the syscall number |
o0 | mqd_t mqdes |
o1 | char *msg_ptr |
o2 | size_t msg_len |
o3 | unsigned int *msg_prio |
o4 | const struct __kernel_timespec *abs_timeout |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 243
- x86 280
- arm64 183
- arm 277
- riscv64 183
- x32 1073742067
- loongarch64 183
- ppc64 265
- ppc 265
- s390x 274
- mips64 5233
- mipsn32 6237
- mipso32 4274
- alpha 435
- arc 183
- csky 183
- hexagon 183
- m68k 274
- microblaze 280
- nios2 183
- openrisc 183
- parisc 232
- sh 280
- sparc 276
- xtensa 235
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/mq_timedreceive