src/standard.c
char *lltoa(long long n, char *dst, size_t size)
{
	char *pos = dst;

	if (n < 0) {
		if (size < 3)
			return NULL; // min size is '-' + digit + '\0' but another test in ulltoa
		*pos = '-';
		pos++;
		dst = ulltoa(-n, pos, size - 1);
	} else {
		dst = ulltoa(n, dst, size);
	}
	return dst;
}
/*
 * signed long long ASCII representation
 *
 * return the last char '\0' or NULL if no enough
 * space in dst
 */
signed long long ASCII representation
return the last char '\0' or NULL if no enough
space in dst
signed long long ASCII representation return the last char ' \ 0 ' or NULL if no enough space in dst
char *lltoa(long long n, char *dst, size_t size)
{
	char *pos = dst;
	if (n < 0) {
		if (size < 3)
			return NULL; 
		*pos = '-';
		pos++;
		dst = ulltoa(-n, pos, size - 1);
	} else {
		dst = ulltoa(n, dst, size);
	}
	return dst;
}
char * lltoa ( long long n , char * dst , size_t size ) { char * pos = dst ; if ( n < 0 ) { if ( size < 3 ) return NULL ; * pos = ' ' ; pos ++ ; dst = ulltoa ( - n , pos , size - 1 ) ; } else { dst = ulltoa ( n , dst , size ) ; } return dst ; }
signed long long ASCII representation
 return the last char '\0' or NULL if no enough
 space in dst
signed long long ASCII representation return the last char ' \ 0 ' or NULL if no enough space in dst
// min size is '-' + digit + '\0' but another test in ulltoa