syscall.sh / x86 / lstat64

lstat64

get file status

sys_lstat64(const char *filename, struct stat64 *statbuf)
number196 (0xc4)
abii386
entry pointsys_lstat64
sinceLinux 3.3
man pagelstat64(2)
sourceelixir.bootlin.com

Registers

registervalue
eax196, the syscall number
ebxconst char *filename
ecxstruct stat64 *statbuf
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/lstat64