view sprintf/sprintf.c @ 1:7473dd8e83d3

.hgignore added, based on freecalypso-sw version
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 00:05:15 +0000
parents 75a11d740a02
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);
}