getc


Read character from stream (same as fgetc)

Remark

These functions are not supported by the debugging functions which CS+ provides.

[Classification]

Standard library

[Syntax]

#include <stdio.h>

int getc(FILE *stream);

[Return value]

The input character is returned.

Error return does not occur.

[Description]

This function inputs one character from the input stream pointed to by stream. Only the standard input/output stdin can be specified for stream.