syscall.sh / arm64 / 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)
number183 (0xb7)
abi64
entry pointsys_mq_timedreceive
sinceLinux 3.7
man pagemq_timedreceive(2)
sourceelixir.bootlin.com

Registers

registervalue
x8183, the syscall number
x0mqd_t mqdes
x1char *msg_ptr
x2size_t msg_len
x3unsigned int *msg_prio
x4const struct __kernel_timespec *abs_timeout
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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