syscall.sh / m68k / getdents64

getdents64

get directory entries

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

Registers

registervalue
d0220, the syscall number
d1unsigned int fd
d2struct linux_dirent64 *dirent
d3unsigned int count
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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