Function rust_htslib::htslib::bgzf_seek [] [src]

pub unsafe extern "C" fn bgzf_seek(
    fp: *mut BGZF,
    pos: i64,
    whence: c_int
) -> i64

Set the file to read from the location specified by pos.

@param fp BGZF file handler @param pos virtual file offset returned by bgzf_tell() @param whence must be SEEK_SET @return 0 on success and -1 on error