syscall.sh / sparc64 / fstat64
fstat64
get file status
sys_fstat64(unsigned long fd, struct stat64 *statbuf)
| number | 63 (0x3f) |
|---|---|
| abi | common |
| entry point | sys_fstat64 |
| since | Linux 5.0 |
| man page | fstat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 63, the syscall number |
o0 | unsigned long fd |
o1 | struct stat64 *statbuf |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x86 197
- arm 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
- xtensa 55
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/fstat64