static inline char *vcfFileCloneStr(struct vcfFile *vcff, char *str) /* Use vcff's local mem to allocate memory for a string and copy it. */ { return vcfFileCloneStrZ(vcff, str, strlen(str)); }
static inline char *vcfFileCloneSubstr(struct vcfFile *vcff, char *line, regmatch_t substr) /* Allocate memory for and copy a substring of line. */ { return vcfFileCloneStrZ(vcff, line+substr.rm_so, (substr.rm_eo - substr.rm_so)); }
static char *vcfFileCloneStr(struct vcfFile *vcff, char *str) /* allocate memory for a string and copy it */ { return vcfFileCloneStrZ(vcff, str, strlen(str)); }