syscall.sh / s390x / 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)
number274 (0x112)
abicommon
entry pointsys_mq_timedreceive
sinceLinux 4.16
man pagemq_timedreceive(2)
sourceelixir.bootlin.com

Registers

registervalue
r1274, the syscall number
r2mqd_t mqdes
r3char *msg_ptr
r4size_t msg_len
r5unsigned int *msg_prio
r6const struct __kernel_timespec *abs_timeout
r2the 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/s390x/mq_timedreceive