Function cloudabi::fd_seek [] [src]

pub unsafe fn fd_seek(
    fd_: fd,
    offset_: filedelta,
    whence_: whence,
    newoffset_: &mut filesize
) -> errno

Moves the offset of the file descriptor.

Parameters

fd: The file descriptor whose offset has to be moved.

offset: The number of bytes to move.

whence: Relative to which position the move should take place.

newoffset: The new offset of the file descriptor, relative to the start of the file.