<tt>int fputc(int c, FILE *stream)</tt>




Document: The C Standard Library

next int putchar(int c)
up Input and Output: stdio.h
gif int getchar(void)

int fputc(int c, FILE *stream)

fputc() converts the int value c into the corresponding char value, and writes that to the next sequential position in the open file identified by the file pointer stream. The return value is normally set to be equal to the input argument c; however, if any error is encountered then the return value will be EOF and errno will be set appropriately.



McMullin@eeng.dcu.ie
Fri Mar 29 14:35:38 GMT 1996