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