Parent Directory
|
Revision Log
|
Patch
| revision 1.4 by joerg_wunsch, Wed Jul 21 22:11:59 2004 UTC | revision 1.5 by joerg_wunsch, Tue Sep 6 18:49:15 2005 UTC | |
|---|---|---|
| # | Line 48 puts_P(const char *str) | Line 48 puts_P(const char *str) |
| 48 | * macro, so it could evaluate its argument more than once. | * macro, so it could evaluate its argument more than once. |
| 49 | */ | */ |
| 50 | while ((c = pgm_read_byte(str)) != '\0') { | while ((c = pgm_read_byte(str)) != '\0') { |
| 51 | if (stdout->put(c) != 0) | if (stdout->put(c, stdout) != 0) |
| 52 | rv = EOF; | rv = EOF; |
| 53 | str++; | str++; |
| 54 | } | } |
| 55 | if (stdout->put('\n') != 0) | if (stdout->put('\n', stdout) != 0) |
| 56 | rv = EOF; | rv = EOF; |
| 57 | ||
| 58 | return rv; | return rv; |
|
||||||||
| savannah-hackers-public@gnu.org | ViewVC Help |
| Powered by ViewVC 1.1.26 |