syscall.sh / alpha / mq_timedreceive

mq_timedreceive

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)
number435 (0x1b3)
abicommon
entry pointsys_mq_timedreceive
sinceLinux 5.0
man pagemq_timedreceive(2)
sourceelixir.bootlin.com

Registers

registervalue
v0435, the syscall number
a0mqd_t mqdes
a1char *msg_ptr
a2size_t msg_len
a3unsigned int *msg_prio
a4const struct __kernel_timespec *abs_timeout
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/mq_timedreceive