File:
[DVB] /
dietlibc /
libstdio /
printf.c
Revision
1.4:
download - view:
text,
annotated -
select for diffs
Wed Jul 18 01:26:10 2001 UTC (22 years, 11 months ago) by
olaf
Branches:
MAIN
CVS tags:
finnland_test_200301,
branch_rc14_fieldtest_finnland,
branch_rc13_fieldtest_finnland,
branch_rc12_fieldtest_finnland,
branch_rc10_fieldtest_finnland,
RELEASE_finnland_200301_1,
RC12_FIELDTEST_FINNLAND,
RC10_FIELDTEST_FINNLAND,
HEAD
a new printf core with the rest of the stdio family
(buffered variants are next on the list...)
#include <stdarg.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include "dietstdio.h"
int printf(const char *format,...)
{
int n;
va_list arg_ptr;
va_start(arg_ptr, format);
n=vprintf(format, arg_ptr);
va_end(arg_ptr);
return n;
}
LinuxTV legacy CVS <linuxtv.org/cvs>