Function gkfs::syscall::gkfs_lseek(shared_ptr<gkfs::filemap::OpenFile>, off_t, unsigned int)

Function Documentation

off_t gkfs::syscall::gkfs_lseek(shared_ptr<gkfs::filemap::OpenFile> gkfs_fd, off_t offset, unsigned int whence)

gkfs wrapper for lseek() system calls with available shared ptr to gkfs FileMap errno may be set

Parameters:
  • gkfs_fd –

  • offset –

  • whence –

Returns:

0 on success, -1 on failure