syscall.sh / x86 / mq_timedreceive_time64
mq_timedreceive_time64
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 | 419 (0x1a3) |
|---|---|
| abi | i386 |
| entry point | sys_mq_timedreceive |
| since | Linux 5.1 |
| man page | mq_timedreceive(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 419, the syscall number |
ebx | mqd_t mqdes |
ecx | char *msg_ptr |
edx | size_t msg_len |
esi | unsigned int *msg_prio |
edi | const struct __kernel_timespec *abs_timeout |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- arm 419
- ppc 419
- mipsn32 6419
- mipso32 4419
- arc 419
- csky 419
- hexagon 419
- m68k 419
- microblaze 419
- nios2 419
- openrisc 419
- parisc 419
- sh 419
- sparc 419
- xtensa 419
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/mq_timedreceive_time64