4.4BSD/usr/share/man/cat3f/fgetc.0

Compare this file to the similar file:
Show the results in this format:

F>=1  .if 3F<=8 .    if 3F>1 .if 3F<6 .ds an-extra3 "BSD Program-



GETC(3F)               BSD Reference Manual              GETC(3F)

mer's Manual
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 asso-
       ciated  with a fortran logical unit, bypassing normal for-
       tran I/O.  _G_e_t_c reads from logical unit 5,  normally  con-
       nected 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  per-
       ror(3F).

FFIILLEESS
       /usr/lib/libU77.a

SSEEEE AALLSSOO
       getc(3S), intro(2), perror(3F)


























4.2 Berkeley Distribution  June 5, 1993                         1