syscall.sh / x86 / mq_timedreceive

mq_timedreceive

receive a message from a message queue

sys_mq_timedreceive_time32(mqd_t mqdes, char *u_msg_ptr, unsigned int msg_len, unsigned int *u_msg_prio, const struct old_timespec32 *u_abs_timeout)
number280 (0x118)
abii386
entry pointsys_mq_timedreceive_time32
sinceLinux 3.3
man pagemq_timedreceive(2)
sourceelixir.bootlin.com

Registers

registervalue
eax280, the syscall number
ebxmqd_t mqdes
ecxchar *u_msg_ptr
edxunsigned int msg_len
esiunsigned int *u_msg_prio
ediconst struct old_timespec32 *u_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