uxmhf-rpi3/common/subr_prf.c
/*
 * Scaled down version of vsnprintf(3).
 */
Scaled down version of vsnprintf(3).
Scaled down version of vsnprintf ( 3 ) .
int
vsnprintf(char *str, size_t size, const char *format, va_list ap)
{
	struct snprintf_arg info;
	int retval;
	info.str = str;
	info.remain = size;
	retval = kvprintf(format, snprintf_func, &info, 10, ap);
	if (info.remain >= 1)
		*info.str++ = '\0';
	return (retval);
}
int vsnprintf ( char * str , size_t size , const char * format , va_list ap ) { struct snprintf_arg info ; int retval ; info . str = str ; info . remain = size ; retval = kvprintf ( format , snprintf_func , & info , 10 , ap ) ; if ( info . remain >= 1 ) * info . str ++ = ' \0 ' ; return ( retval ) ; }
Scaled down version of vsnprintf(3).
Scaled down version of vsnprintf ( 3 ) .