syscall.sh / ppc / getdents64

getdents64

get directory entries

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

Registers

registervalue
r0202, the syscall number
r3unsigned int fd
r4struct linux_dirent64 *dirent
r5unsigned int count
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/getdents64