source:
trunk/sys/dietlibc/printf.c
@
1
| Last change on this file since 1 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 241 bytes | |
| Rev | Line | |
|---|---|---|
| [1] | 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.
