Name
hw_FGetC -- read a single character from a file (V5.0)
Synopsis
int c = hw_FGetC(APTR handle);
Function
This function reads a single character from the specified file handle and returns it. In case the end-of-file marker has been reached or an error has occurred, -1 is returned.

This function is thread-safe.

Designer compatibility
Supported since Designer 4.0

Inputs
handle
file handle returned by hw_FOpen()
Results
c
character read or -1 on error or EOF

Show TOC