Rev 4973 | Details | Compare with Previous | 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 |
||
5123 | clevermous | 3 | #include |
4973 | right-hear | 4 | #include |
5 | |||
6 | int |
||
7 | printf(const char *fmt, ...) |
||
8 | { |
||
9 | int len; |
||
10 | va_list va; |
||
11 | va_start(va, fmt); |
||
12 | |||
13 | len = _doprnt(fmt, va, stdout); |
||
14 | va_end(va); |
||
15 | return ferror(stdout) ? EOF : len; |
||
16 | } |