syscall.sh / xtensa / lstat

lstat

get file status

sys_newlstat(const char *filename, struct stat *statbuf)
number49 (0x31)
abicommon
entry pointsys_newlstat
sinceLinux 5.0
man pagelstat(2)
sourceelixir.bootlin.com

Registers

registervalue
a249, the syscall number
a6const char *filename
a3struct stat *statbuf
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/lstat