Function gkfs::syscall::gkfs_pread_ws

Function Documentation

ssize_t gkfs::syscall::gkfs_pread_ws(int fd, void *buf, size_t count, off64_t offset)

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

Parameters
  • fd

  • buf

  • count

  • offset

Returns

read size or -1 on error