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