syscall.sh / arm / fstat64
fstat64
get file status
sys_fstat64(unsigned long fd, struct stat64 *statbuf)
| number | 197 (0xc5) |
|---|---|
| abi | common |
| entry point | sys_fstat64 |
| since | Linux 4.10 |
| man page | fstat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 197, the syscall number |
r0 | unsigned long fd |
r1 | struct stat64 *statbuf |
r0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x86 197
- ppc 197
- mipso32 4215
- 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/arm/fstat64