source:
trunk/sys/dietlibc/printf.c
@
248
Last change on this file since 248 was 1, checked in by , 8 years ago | |
---|---|
File size: 241 bytes |
Line | |
---|---|
1 | #include <stdarg.h> |
2 | #include <unistd.h> |
3 | #include <stdlib.h> |
4 | #include "dietstdio.h" |
5 | |
6 | int 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.