Function rust_htslib::htslib::bam_aux_get [] [src]

pub unsafe extern "C" fn bam_aux_get(
    b: *const bam1_t,
    tag: *const c_char
) -> *mut u8

Return a pointer to an aux record ** @param b Pointer to the bam record @param tag Desired aux tag @return Pointer to the tag data, or NULL if tag is not present or on error If the tag is not present, this function returns NULL and sets errno to ENOENT. If the bam record's aux data is corrupt (either a tag has an invalid type, or the last record is incomplete) then errno is set to EINVAL and NULL is returned. */