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

Registers

registervalue
g1276, the syscall number
o0mqd_t mqdes
o1char *msg_ptr
o2size_t msg_len
o3unsigned int *msg_prio
o4const struct __kernel_timespec *abs_timeout
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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