[][src]Function rust_hdfs::hdfsSeek

pub unsafe extern "C" fn hdfsSeek(
    fs: hdfsFS,
    file: hdfsFile,
    desiredPos: tOffset
) -> c_int

hdfsSeek - Seek to given offset in file. This works only for files opened in read-only mode. @param fs The configured filesystem handle. @param file The file handle. @param desiredPos Offset into the file to seek into. @return Returns 0 on success, -1 on error.