syscall.sh / s390x / mq_timedsend

mq_timedsend

send a message to a message queue

sys_mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct __kernel_timespec *abs_timeout)
number273 (0x111)
abicommon
entry pointsys_mq_timedsend
sinceLinux 4.16
man pagemq_timedsend(2)
sourceelixir.bootlin.com

Registers

registervalue
r1273, the syscall number
r2mqd_t mqdes
r3const char *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_timedsend