Function rust_htslib::htslib::bcf_read [] [src]

pub unsafe extern "C" fn bcf_read(
    fp: *mut htsFile,
    h: *const bcf_hdr_t,
    v: *mut bcf1_t
) -> c_int

bcf_read() - read next VCF or BCF record

Returns -1 on critical errors, 0 otherwise. On errors which are not critical for reading, such as missing header definitions, v->errcode is set to one of BCF_ERR* code and must be checked before calling vcf_write().