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

Registers

registervalue
a7180, the syscall number
a0const char *name
a1int oflag
a2umode_t mode
a3struct mq_attr *attr
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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