Function rust_htslib::htslib::bgzf_getline [] [src]

pub unsafe extern "C" fn bgzf_getline(
    fp: *mut BGZF,
    delim: c_int,
    str: *mut kstring_t
) -> c_int

Read one line from a BGZF file. It is faster than bgzf_getc()

@param fp BGZF file handler @param delim delimitor @param str string to write to; must be initialized @return length of the string; -1 on end-of-file; <= -2 on error