getc(3f)
NAME
getc, fgetc − get a character from a logical unit
SYNTAX
integer function getc (char)
character char integer function fgetc (lunit, char)
character char
DESCRIPTION
These routines return the next character from a file associated with a Fortran logical unit, bypassing normal Fortran I/O. The getc function reads from logical unit 5, usually connected to the control terminal input.
The value of each function is a system status code. Zero indicates no error occurred on the read; −1 indicates end of file was detected. A positive value will be either a ULTRIX system error code or an f77 I/O error code. See perror(3f).
FILES
/usr/lib/libU77.a