source:
trunk/sys/dietlibc/fprintf.c
@
251
Last change on this file since 251 was 1, checked in by , 8 years ago | |
---|---|
File size: 227 bytes |
Line | |
---|---|
1 | #include <stdarg.h> |
2 | #include <stdio.h> |
3 | #include <stdlib.h> |
4 | |
5 | int fprintf(FILE *f,const char *format,...) { |
6 | int n; |
7 | va_list arg_ptr; |
8 | va_start(arg_ptr,format); |
9 | n=vfprintf(f,format,arg_ptr); |
10 | va_end(arg_ptr); |
11 | return n; |
12 | } |
Note: See TracBrowser
for help on using the repository browser.