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

Registers

registervalue
r11180, the syscall number
r3const char *name
r4int oflag
r5umode_t mode
r6struct mq_attr *attr
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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