(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

LONG FGetC (file)

LOCATION
In DOSBase at offset 51

SYNOPSIS
BPTR file

FUNCTION
Get a character from a buffered file. Buffered I/O is more efficient for small amounts of data but less for big chunks. You have to use Flush() between buffered and non-buffered I/O or you'll clutter your I/O stream.

INPUTS
file
filehandle

RESULT
The character read or EOF if the file ended or an error happened. IoErr() gives additional information in that case.

EXAMPLE

SEE ALSO
IoErr(), Flush()

NOTES

BUGS

INTERNALS

HISTORY