syscall.sh / sh / mq_timedsend_time64
mq_timedsend_time64
send a message to a message queue
sys_mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct __kernel_timespec *abs_timeout)
| number | 418 (0x1a2) |
|---|---|
| abi | common |
| entry point | sys_mq_timedsend |
| since | Linux 5.1 |
| man page | mq_timedsend(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 418, the syscall number |
r4 | mqd_t mqdes |
r5 | const char *msg_ptr |
r6 | size_t msg_len |
r7 | unsigned int msg_prio |
r0 | const struct __kernel_timespec *abs_timeout |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x86 418
- arm 418
- ppc 418
- mipsn32 6418
- mipso32 4418
- arc 418
- csky 418
- hexagon 418
- m68k 418
- microblaze 418
- nios2 418
- openrisc 418
- parisc 418
- sparc 418
- xtensa 418
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/mq_timedsend_time64