syscall.sh / x86 / mq_timedreceive
mq_timedreceive
receive a message from a message queue
sys_mq_timedreceive_time32(mqd_t mqdes, char *u_msg_ptr, unsigned int msg_len, unsigned int *u_msg_prio, const struct old_timespec32 *u_abs_timeout)
| number | 280 (0x118) |
|---|---|
| abi | i386 |
| entry point | sys_mq_timedreceive_time32 |
| since | Linux 3.3 |
| man page | mq_timedreceive(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 280, the syscall number |
ebx | mqd_t mqdes |
ecx | char *u_msg_ptr |
edx | unsigned int msg_len |
esi | unsigned int *u_msg_prio |
edi | const struct old_timespec32 *u_abs_timeout |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 243
- 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
- sparc64 276
- xtensa 235
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/mq_timedreceive