syscall.sh / openrisc / fstatat64
fstatat64
get file status
sys_fstatat64(int dfd, const char *filename, struct stat64 *statbuf, int flag)
| number | 79 (0x4f) |
|---|---|
| abi | stat64 |
| entry point | sys_fstatat64 |
| since | Linux 3.7 |
| man page | fstatat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r11 | 79, the syscall number |
r3 | int dfd |
r4 | const char *filename |
r5 | struct stat64 *statbuf |
r6 | int flag |
r11 | the return value |
Then run l.sys 1 to enter the kernel.
Same syscall on other architectures
- x86 300
- arm 327
- ppc 291
- mipso32 4293
- alpha 455
- arc 79
- csky 79
- hexagon 79
- m68k 293
- microblaze 300
- nios2 79
- parisc 280
- sh 300
- sparc 289
- sparc64 289
- xtensa 299
Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/fstatat64