syscall.sh / x64 / mq_unlink
mq_unlink
remove a message queue
sys_mq_unlink(const char *name)
| number | 241 (0xf1) |
|---|---|
| abi | common |
| entry point | sys_mq_unlink |
| since | Linux 3.3 |
| man page | mq_unlink(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 241, the syscall number |
rdi | const char *name |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 278
- arm64 181
- arm 275
- riscv64 181
- x32 1073742065
- loongarch64 181
- ppc64 263
- ppc 263
- s390x 272
- mips64 5231
- mipsn32 6235
- mipso32 4272
- alpha 433
- arc 181
- csky 181
- hexagon 181
- m68k 272
- microblaze 278
- nios2 181
- openrisc 181
- parisc 230
- sh 278
- sparc 274
- sparc64 274
- xtensa 233
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/mq_unlink