syscall.sh / x86 / mq_timedreceive_time64

mq_timedreceive_time64

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)
number419 (0x1a3)
abii386
entry pointsys_mq_timedreceive
sinceLinux 5.1
man pagemq_timedreceive(2)
sourceelixir.bootlin.com

Registers

registervalue
eax419, the syscall number
ebxmqd_t mqdes
ecxchar *msg_ptr
edxsize_t msg_len
esiunsigned int *msg_prio
ediconst struct __kernel_timespec *abs_timeout
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/mq_timedreceive_time64