Parent Directory | Revision Log | Patch
revision 1.2 by joerg_wunsch, Thu Dec 26 21:48:13 2002 UTC | revision 1.3 by joerg_wunsch, Tue Sep 6 18:49:15 2005 UTC | |
---|---|---|
# | Line 43 puts(const char *str) | Line 43 puts(const char *str) |
43 | return EOF; | return EOF; |
44 | ||
45 | while ((c = *str++) != '\0') | while ((c = *str++) != '\0') |
46 | if (stdout->put(c) != 0) | if (stdout->put(c, stdout) != 0) |
47 | rv = EOF; | rv = EOF; |
48 | if (stdout->put('\n') != 0) | if (stdout->put('\n', stdout) != 0) |
49 | rv = EOF; | rv = EOF; |
50 | ||
51 | return rv; | return rv; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |