syscall.sh / nios2 / 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.19
man pagemq_open(2)
sourceelixir.bootlin.com

Registers

registervalue
r2180, the syscall number
r4const char *name
r5int oflag
r6umode_t mode
r7struct mq_attr *attr
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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