syscall.sh / sh / mq_notify

mq_notify

register for notification when a message is available

sys_mq_notify(mqd_t mqdes, const struct sigevent *notification)
number281 (0x119)
abicommon
entry pointsys_mq_notify
sinceLinux 5.0
man pagemq_notify(2)
sourceelixir.bootlin.com

Registers

registervalue
r3281, the syscall number
r4mqd_t mqdes
r5const struct sigevent *notification
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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