view src/libsys/sprintf/sprintf.c @ 25:b51027daadb9

add install-target-bin.sh script
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 02 Dec 2020 21:19:21 +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);
}