syscall.sh / mipso32 / fstat64
fstat64
get file status
sys_fstat64(unsigned long fd, struct stat64 *statbuf)
| number | 4215 (0x1077) |
|---|---|
| abi | o32 |
| entry point | sys_fstat64 |
| since | Linux 5.0 |
| man page | fstat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4215, the syscall number |
a0 | unsigned long fd |
a1 | struct stat64 *statbuf |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 197
- arm 197
- ppc 197
- alpha 427
- arc 80
- csky 80
- hexagon 80
- m68k 197
- microblaze 197
- nios2 80
- openrisc 80
- parisc 112
- sh 197
- sparc 63
- sparc64 63
- xtensa 55
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/fstat64