view src/libsys/sprintf/sprintf.c @ 124:4238e3220682

doc/Compiling: updated for C155 support, RVTMUX_ON_MODEM config var and new FC host tools
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 07 Nov 2018 09:34:02 +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);
}