home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / ftn / getc.z / getc
Encoding:
Text File  |  1998-10-30  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GGGGEEEETTTTCCCC((((3333FFFF))))                                                              GGGGEEEETTTTCCCC((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      getc, fgetc - get a character from a logical unit
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      iiiinnnntttteeeeggggeeeerrrr ffffuuuunnnnccccttttiiiioooonnnn ggggeeeettttcccc ((((cccchhhhaaaarrrr))))
  13.      cccchhhhaaaarrrraaaacccctttteeeerrrr cccchhhhaaaarrrr
  14.  
  15.      iiiinnnntttteeeeggggeeeerrrr ffffuuuunnnnccccttttiiiioooonnnn ffffggggeeeettttcccc ((((lllluuuunnnniiiitttt,,,, cccchhhhaaaarrrr))))
  16.      cccchhhhaaaarrrraaaacccctttteeeerrrr cccchhhhaaaarrrr
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      These routines return the next character from a file associated with a
  20.      fortran logical unit, bypassing normal fortran I/O.  _G_e_t_c reads from
  21.      logical unit 5, normally connected to the control terminal input.
  22.  
  23.      The value of each function is a system status code. Zero indicates no
  24.      error occurred on the read; -1 indicates end of file was detected.  A
  25.      positive value will be either a UNIX system error code or an f77 I/O
  26.      error code. See perror(3F).
  27.  
  28. BBBBUUUUGGGGSSSS
  29.      _f_g_e_t_c(3f) does not work for FORTRAN unit numbers other than 5.
  30.  
  31. FFFFIIIILLLLEEEESSSS
  32.      /usr/lib/libU77.a
  33.  
  34. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  35.      getc(3S), intro(2), perror(3F)
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.