syscall.sh / x32 / 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)
number1073742067 (0x400000f3)
abicommon
entry pointsys_mq_timedreceive
sinceLinux 3.4
man pagemq_timedreceive(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742067, the syscall number
rdimqd_t mqdes
rsichar *msg_ptr
rdxsize_t msg_len
r10unsigned int *msg_prio
r8const struct __kernel_timespec *abs_timeout
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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