Complete the file opening mode, according to its extension. @param mode Preallocated mode string to be completed. @param fn File name to be opened. @param format Format string (vcf|bcf|vcf.gz) @return 0 on success; -1 on failure
See Implementation
Complete the file opening mode, according to its extension. @param mode Preallocated mode string to be completed. @param fn File name to be opened. @param format Format string (vcf|bcf|vcf.gz) @return 0 on success; -1 on failure