Function rust_htslib::htslib::hts_idx_save_as [] [src]

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

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