syscall.sh / xtensa / unlinkat
unlinkat
delete a name and possibly the file it refers to
sys_unlinkat(int dfd, const char *pathname, int flag)
| number | 291 (0x123) |
|---|---|
| abi | common |
| entry point | sys_unlinkat |
| since | Linux 5.0 |
| man page | unlinkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 291, the syscall number |
a6 | int dfd |
a3 | const char *pathname |
a4 | int flag |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 263
- x86 301
- arm64 35
- arm 328
- riscv64 35
- x32 1073742087
- loongarch64 35
- ppc64 292
- ppc 292
- s390x 294
- mips64 5253
- mipsn32 6257
- mipso32 4294
- alpha 456
- arc 35
- csky 35
- hexagon 35
- m68k 294
- microblaze 301
- nios2 35
- openrisc 35
- parisc 281
- sh 301
- sparc 290
- sparc64 290
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/unlinkat