-

Functions HI-TECH C FPUTC

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search

FPUTC

SYNOPSIS

#include  <stdio.h>

int fputc(int c, FILE * stream)


DESCRIPTION

The character c is written to the supplied stream. This is the non-macro version of putc(). The character is returned if it was successfully written, EOF is returned otherwise. Note that "written to the stream" may mean only placing the character in the buffer associated with the stream.

SEE ALSO

putc, fgetc, fopen, fflush