Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ |
2 | #include |
||
3 | #include |
||
4 | |||
5 | int |
||
6 | printf(const char *fmt, ...) |
||
7 | { |
||
8 | int len; |
||
9 | va_list va; |
||
10 | va_start(va, fmt); |
||
11 | |||
12 | len = _doprnt(fmt, va, stdout); |
||
13 | va_end(va); |
||
14 | return ferror(stdout) ? EOF : len; |
||
15 | } |