view target-utils/libprintf/vprintf.c @ 103:40dea2dbc7e6

target-utils: helloapp converted to our own libc
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 01 Nov 2016 00:24:23 +0000
parents e7502631a0f9
children
line wrap: on
line source

#include <stdarg.h>

extern void putchar();

int
vprintf(fmt, ap)
	char *fmt;
	va_list ap;
{
	return(_doprnt(fmt, ap, &putchar));
}