getc(3F)
getc, fgetc - get a character from a logical unit
As shipped in IRIX 6.5.7. Last changed in IRIX 6.5.5.
NAME getc, fgetc - get a character from a logical unit SYNOPSIS integer function getc (char) character char integer function fgetc (lunit, char) character char IMPLEMENTATION IRIX systems DESCRIPTION These routines return the next character from a file associated with a Fortran logical unit, bypassing normal Fortran I/O. Getc reads from logical unit 5, normally 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 UNIX system error code or an F77 I/O error code. See perror(3F). BUGS fgetc(3f) does not work for Fortran unit numbers other than 5. FILES /usr/ucb/lib/libU77.a /usr/lib/libU77.a SEE ALSO getc(3S), perror(3F) This man page is available only online.