Function gkfs::syscall::gkfs_lseek(unsigned int, off_t, unsigned int)

Function Documentation

off_t gkfs::syscall::gkfs_lseek(unsigned int fd, off_t offset, unsigned int whence)

gkfs wrapper for lseek() system calls with available file descriptor errno may be set

Parameters
  • fd

  • offset

  • whence

Returns

0 on success, -1 on failure