c/io/fgetc

@1@ Reads the next character from the given input stream.

@2@ Same as, except that if is implemented as a macro, it may evaluate stream more than once, so the corresponding argument should never be an expression with side effects.

Return value
On success, returns the obtained character as an converted to an. On failure, returns eof.

If the failure has been caused by end-of-file condition, additionally sets the eof indicator (see feof) on. If the failure has been caused by some other error, sets the error indicator (see ferror) on.