syscall.sh / xtensa / getdents64

getdents64

get directory entries

sys_getdents64(unsigned int fd, struct linux_dirent64 *dirent, unsigned int count)
number60 (0x3c)
abicommon
entry pointsys_getdents64
sinceLinux 5.0
man pagegetdents64(2)
sourceelixir.bootlin.com

Registers

registervalue
a260, the syscall number
a6unsigned int fd
a3struct linux_dirent64 *dirent
a4unsigned int count
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/getdents64