Unformatted text preview: from the stdio library for the same output stream. RETURN VALUES fputc() , putc() and putchar() return the character written as an unsigned char cast to an int or EOF on error. puts() and fputs() return a non - negative number on success, or EOF on error. CONFORMING TO ANSI - C, POSIX.1 BUGS It is not advisable to mix calls to output functions from the stdio library with low - lev el calls to write() for the file descriptor associated with the same output stream; the results will be undefined and very probably not what you want. SEE ALSO write (2), fopen (3), fwrite (3), scanf (3), gets (3), fseek (3), ferror (3) GNU April 4, 1993 1...
View Full Document
- Spring '06
- ASCII, const char *s, stdio library, fputc