getchar


Read characters from SFR

[Classification]

Standard library

[Syntax]

#include <stdio.h>

int __far getchar(void);

[Return value]

Returns the value read from SFR.

[Description]

This function reads a single character from P0 which is SFR. An error check is not performed for reading.

[Caution]

-

To change stdin, replace this function.