syscall.sh / alpha / osf_getdirentries
osf_getdirentries
sys_osf_getdirentries(unsigned int fd, struct osf_dirent *dirent, unsigned int count, long *basep)
| number | 159 (0x9f) |
|---|---|
| abi | common |
| entry point | sys_osf_getdirentries |
| since | Linux 5.0 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 159, the syscall number |
a0 | unsigned int fd |
a1 | struct osf_dirent *dirent |
a2 | unsigned int count |
a3 | long *basep |
v0 | the return value |
Then run callsys to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/osf_getdirentries