Skip to main content

SYS_LSEEK

Constant SYS_LSEEK 

Source
pub const SYS_LSEEK: usize = 407;
Expand description

Set the file position of a file descriptor.

  • fd: file descriptor
  • offset: new position offset
  • whence: SEEK_SET (0), SEEK_CUR (1), or SEEK_END (2)

Returns the new file position.