*dest = (char *)calloc(1, strlen(src) + 1);
*dest = typecallocn(char, n + 1);
PUBLIC char * SNACat ARGS3(	char **,	dest,	CONST char *,	src,	int,		n){    if (src && *src) {	if (*dest) {	    int length = strlen(*dest);	    *dest = (char *)realloc(*dest, length + n + 1);	    if (*dest == NULL)		outofmem(__FILE__, "SNACat");	    strncpy(*dest + length, src, n);	    *(*dest + length + n) = '\0'; /* terminate */	} else {	    *dest = (char *)calloc(1, strlen(src) + 1);	    if (*dest == NULL)		outofmem(__FILE__, "SNACat");	    strncpy(*dest, src, n);	    *dest[n] = '\0'; /* terminate */	}    }    return *dest;}