syscall.sh / arc / 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)
number183 (0xb7)
abitime32
entry pointsys_mq_timedreceive_time32
sinceLinux 3.9
man pagemq_timedreceive(2)
sourceelixir.bootlin.com

Registers

registervalue
r8183, the syscall number
r0mqd_t mqdes
r1char *u_msg_ptr
r2unsigned int msg_len
r3unsigned int *u_msg_prio
r4const struct old_timespec32 *u_abs_timeout
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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