home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / vbcc / machines / amiga68k / libsrc / stdio / puts.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-24  |  244 b   |  10 lines

  1. #include <stdio.h>
  2.  
  3. int puts(const char *s)
  4. /*  s.o. was muss hier zurueckgegeben werden?   */
  5. {
  6.     if(fputs(s,stdout)==EOF) return(EOF);
  7.     if(__putc('\n',stdout)==EOF) return(EOF);
  8.     if(fflush(stdout)==EOF) return(EOF); else return(1);
  9. }
  10.