syscall.sh / riscv64 / mq_timedsend

mq_timedsend

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)
number182 (0xb6)
abi64
entry pointsys_mq_timedsend
sinceLinux 4.15
man pagemq_timedsend(2)
sourceelixir.bootlin.com

Registers

registervalue
a7182, the syscall number
a0mqd_t mqdes
a1const char *msg_ptr
a2size_t msg_len
a3unsigned int msg_prio
a4const struct __kernel_timespec *abs_timeout
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/mq_timedsend