syscall.sh / ppc64 / 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)
number265 (0x109)
abi64
entry pointsys_mq_timedreceive
sinceLinux 5.0
man pagemq_timedreceive(2)
sourceelixir.bootlin.com

Registers

registervalue
r0265, the syscall number
r3mqd_t mqdes
r4char *msg_ptr
r5size_t msg_len
r6unsigned int *msg_prio
r7const struct __kernel_timespec *abs_timeout
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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