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