syscall.sh / mipsn32 / lstat
lstat
get file status
sys_newlstat(const char *filename, struct stat *statbuf)
| number | 6006 (0x1776) |
|---|---|
| abi | n32 |
| entry point | sys_newlstat |
| since | Linux 5.0 |
| man page | lstat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6006, the syscall number |
a0 | const char *filename |
a1 | struct stat *statbuf |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 6
- x86 107
- arm 107
- x32 1073741830
- ppc64 107
- ppc 107
- s390x 107
- mips64 5006
- mipso32 4107
- alpha 68
- m68k 107
- microblaze 107
- parisc 84
- sh 107
- sparc 40
- sparc64 40
- xtensa 49
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/lstat