source: trunk/sys/dietlibc/printf.c @ 275

Last change on this file since 275 was 1, checked in by alain, 8 years ago

First import

File size: 241 bytes
Line 
1#include <stdarg.h>
2#include <unistd.h>
3#include <stdlib.h>
4#include "dietstdio.h"
5
6int printf(const char *format,...)
7{
8  int n;
9  va_list arg_ptr;
10  va_start(arg_ptr, format);
11  n=vprintf(format, arg_ptr);
12  va_end(arg_ptr);
13  return n;
14}
Note: See TracBrowser for help on using the repository browser.