Function gkfs::syscall::gkfs_getdents

Function Documentation

int gkfs::syscall::gkfs_getdents(unsigned int fd, struct linux_dirent *dirp, unsigned int count)

gkfs wrapper for getdents() system calls errno may be set

Parameters:
  • fd

  • dirp

  • count

Returns:

0 on success or -1 on error