/[avr-libc]/avr-libc/libc/stdio/fputs.c
ViewVC logotype

Diff of /avr-libc/libc/stdio/fputs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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  fputs(const char *str, FILE *stream) Line 43  fputs(const char *str, FILE *stream)
43                  return EOF;                  return EOF;
44    
45          while ((c = *str++) != '\0')          while ((c = *str++) != '\0')
46                  if (stream->put(c) != 0)                  if (stream->put(c, stream) != 0)
47                          rv = EOF;                          rv = EOF;
48    
49          return rv;          return rv;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26