Function gnunet_sys::GNUNET_DISK_file_seek[][src]

pub unsafe extern "C" fn GNUNET_DISK_file_seek(
    h: *const GNUNET_DISK_FileHandle,
    offset: off_t,
    whence: GNUNET_DISK_Seek
) -> off_t

Move the read/write pointer in a file @param h handle of an open file @param offset position to move to @param whence specification to which position the offset parameter relates to @return the new position on success, #GNUNET_SYSERR otherwise