fstat64 on ia32
get file status
compat_sys_ia32_fstat64(unsigned long fd, struct stat64 *statbuf)
| number | 197 (0xc5) |
|---|---|
| abi | i386 |
| entry point | compat_sys_ia32_fstat64 |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | fstat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 197, the syscall number |
ebx | unsigned long fd |
ecx | struct stat64 *statbuf |
eax | the return value |
Then run int 0x80 to enter the kernel.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
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
- sparc64 63
- xtensa 55
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/fstat64