syscall.sh / ppc / stat64
stat64
get file status
sys_stat64(const char *filename, struct stat64 *statbuf)
| number | 195 (0xc3) |
|---|---|
| abi | 32 |
| entry point | sys_stat64 |
| since | Linux 5.0 |
| man page | stat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 195, the syscall number |
r3 | const char *filename |
r4 | struct stat64 *statbuf |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x86 195
- arm 195
- mipso32 4213
- alpha 425
- m68k 195
- microblaze 195
- parisc 101
- sh 195
- sparc 139
- sparc64 139
- xtensa 47
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/stat64