view sprintf/sprintf.c @ 43:bceffa414fc6

cst_pei.c: added the same support for DISABLE_SLEEP as in Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Sep 2017 16:16:57 +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);
}