syscall.sh / csky / mq_timedsend
mq_timedsend
send a message to a message queue
sys_mq_timedsend_time32(mqd_t mqdes, const char *u_msg_ptr, unsigned int msg_len, unsigned int msg_prio, const struct old_timespec32 *u_abs_timeout)
| number | 182 (0xb6) |
|---|---|
| abi | time32 |
| entry point | sys_mq_timedsend_time32 |
| since | Linux 4.20 |
| man page | mq_timedsend(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 182, the syscall number |
a0 | mqd_t mqdes |
a1 | const char *u_msg_ptr |
a2 | unsigned int msg_len |
a3 | unsigned int msg_prio |
r4 | const struct old_timespec32 *u_abs_timeout |
a0 | the return value |
Then run trap 0 to enter the kernel.
Same syscall on other architectures
- x64 242
- x86 279
- arm64 182
- arm 276
- riscv64 182
- x32 1073742066
- loongarch64 182
- ppc64 264
- ppc 264
- s390x 273
- mips64 5232
- mipsn32 6236
- mipso32 4273
- alpha 434
- arc 182
- hexagon 182
- m68k 273
- microblaze 279
- nios2 182
- openrisc 182
- parisc 231
- sh 279
- sparc 275
- sparc64 275
- xtensa 234
Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/mq_timedsend