-

Difference between revisions of "Functions HI-TECH C FPUTC"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(Created page with "<strong>FPUTC</strong> ==SYNOPSIS== #include <stdio.h> int fputc(int c, FILE * stream) ==DESCRIPTION== The character c is written to the supplied stream. This is the...")
 
Line 9: Line 9:
 
==DESCRIPTION==
 
==DESCRIPTION==
 
The character c is written to the supplied stream. This
 
The character c is written to the supplied stream. This
is  the  non-macro  version of _�p_�u_�t_�c(). The character is
+
is  the  non-macro  version of <strong>putc()<strong>. The character is
 
returned  if  it  was  successfully  written,  EOF  is
 
returned  if  it  was  successfully  written,  EOF  is
 
returned  otherwise.  Note that "written to the stream"
 
returned  otherwise.  Note that "written to the stream"

Revision as of 14:12, 19 December 2017

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