syscall.sh / mipso32 / readdir

readdir

read directory entry

sys_old_readdir(unsigned int fd, struct old_linux_dirent *dirent, unsigned int count)
number4089 (0xff9)
abio32
entry pointsys_old_readdir
sinceLinux 5.0
man pagereaddir(2)
sourceelixir.bootlin.com

Registers

registervalue
v04089, the syscall number
a0unsigned int fd
a1struct old_linux_dirent *dirent
a2unsigned int count
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/readdir