syscall.sh / arc / mq_open

mq_open

open a message queue

sys_mq_open(const char *name, int oflag, umode_t mode, struct mq_attr *attr)
number180 (0xb4)
abicommon
entry pointsys_mq_open
sinceLinux 3.9
man pagemq_open(2)
sourceelixir.bootlin.com

Registers

registervalue
r8180, the syscall number
r0const char *name
r1int oflag
r2umode_t mode
r3struct mq_attr *attr
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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