Function rust_htslib::htslib::hts_idx_save [] [src]

pub unsafe extern "C" fn hts_idx_save(
    idx: *const hts_idx_t,
    fn_: *const c_char,
    fmt: c_int
) -> c_int

Save an index to a file ** @param idx Index to be written @param fn Input BAM/BCF/etc filename, to which .bai/.csi/etc will be added @param fmt One of the HTS_FMT_* index formats @return 0 if successful, or negative if an error occurred. */