syscall.sh / sparc64 / getdents

getdents

get directory entries

sys_getdents(unsigned int fd, struct linux_dirent *dirent, unsigned int count)
number174 (0xae)
abicommon
entry pointsys_getdents
sinceLinux 5.0
man pagegetdents(2)
sourceelixir.bootlin.com

Registers

registervalue
g1174, the syscall number
o0unsigned int fd
o1struct linux_dirent *dirent
o2unsigned int count
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/getdents