GETC(3F) UNIX Programmer's Manual GETC(3F) NNAAMMEE getc, fgetc - get a character from a logical unit SSYYNNOOPPSSIISS iinntteeggeerr ffuunnccttiioonn ggeettcc ((cchhaarr)) cchhaarraacctteerr cchhaarr iinntteeggeerr ffuunnccttiioonn ffggeettcc ((lluunniitt,, cchhaarr)) cchhaarraacctteerr cchhaarr DDEESSCCRRIIPPTTIIOONN These routines return the next character from a file associ- ated with a fortran logical unit, bypassing normal fortran I/O. _G_e_t_c 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). FFIILLEESS /usr/lib/libU77.a SSEEEE AALLSSOO getc(3S), intro(2), perror(3F) Printed 7/9/88 May 27, 1986 1