Newer
Older
UbixOS / Dump / hybos / lib / stdio / sprintf.c
@cwolsen cwolsen on 31 Oct 2018 296 bytes Big Dump
/**
 * sprintf.c
 *
 */

#include <stdarg.h> /* va_* */

int vsprintf_help(unsigned c, void **ptr);

int sprintf(char *buffer, const char *fmt, ...)
{
	va_list args;
	int ret_val;

	va_start(args, fmt);
	ret_val = vsprintf(buffer, fmt, args);
	va_end(args);
	return ret_val;
}