syscall.sh / mipsn32 / newfstatat
newfstatat
get file status
sys_newfstatat(int dfd, const char *filename, struct stat *statbuf, int flag)
| number | 6256 (0x1870) |
|---|---|
| abi | n32 |
| entry point | sys_newfstatat |
| since | Linux 5.0 |
| man page | newfstatat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6256, the syscall number |
a0 | int dfd |
a1 | const char *filename |
a2 | struct stat *statbuf |
a3 | int flag |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/newfstatat