view src/libsys/sprintf/sprintf.c @ 188:049091077b51

doc/Compiling: update for gtm900mgc
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Feb 2020 20:58:01 +0000
parents 425ab6d987f3
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);
}