view src/libsys/sprintf/sprintf.c @ 16:9582c4e40607

armio.c: no board-specific GPIO config
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 04:43:00 +0000
parents 92470e5d0b9e
children
line wrap: on
line source

#include <stdarg.h>

int
sprintf(char *strdest, char *fmt, ...)
{
	va_list ap;
	int len;

	va_start(ap, fmt);
	len = vsprintf(strdest, fmt, ap);
	va_end(ap);
	return(len);
}