unlinkat on tilepro
delete a name and possibly the file it refers to
sys_unlinkat(int dfd, const char *pathname, int flag)
| number | 35 (0x23) |
|---|---|
| abi | common |
| entry point | sys_unlinkat |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | unlinkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 35, the syscall number |
r0 | int dfd |
r1 | const char *pathname |
r2 | int flag |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 263
- x86 301
- arm64 35
- arm 328
- riscv64 35
- ia32 301
- x32 1073742087
- loongarch64 35
- ppc64 292
- ppc 292
- s390x 294
- mips64 5253
- mipsn32 6257
- mipso32 4294
- alpha 456
- arc 35
- blackfin 301, removed in 4.17
- cris 301, removed in 4.17
- csky 35
- frv 301, removed in 4.17
- hexagon 35
- ia64 1287, removed in 6.7
- m32r 301, removed in 4.17
- m68k 294
- metag 35, removed in 4.17
- microblaze 301
- mn10300 302, removed in 4.17
- nds32 35, removed in 5.18
- nios2 35
- openrisc 35
- parisc 281
- score 35, removed in 4.17
- sh 301
- sparc 290
- sparc64 290
- tilegx 35, removed in 4.17
- xtensa 291
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/unlinkat?kernel=all