Function gkfs::syscall::gkfs_pread

Function Documentation

ssize_t gkfs::syscall::gkfs_pread(std::shared_ptr<gkfs::filemap::OpenFile> file, char *buf, size_t count, off64_t offset)

Wrapper function for all gkfs read operations

Parameters
  • file

  • buf

  • count

  • offset

Returns

read size or -1 on error