newfstatat on tilegx
get file status
sys_newfstatat(int dfd, const char *filename, struct stat *statbuf, int flag)
| number | 79 (0x4f) |
|---|---|
| abi | common |
| entry point | sys_newfstatat |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | newfstatat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 79, the syscall number |
r0 | int dfd |
r1 | const char *filename |
r2 | struct stat *statbuf |
r3 | int flag |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error.
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 262
- arm64 79
- riscv64 79
- x32 1073742086
- loongarch64 79
- ppc64 291
- s390x 293
- mips64 5252
- mipsn32 6256
- ia64 1286, removed in 6.7
- score 1054, removed in 4.17
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/newfstatat?kernel=all