home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / ixemul-39.47-env-bin.lha / man / cat3 / ferror.0 < prev    next >
Text File  |  1993-12-07  |  2KB  |  67 lines

  1.  
  2. FERROR(3)                  UNIX Programmer's Manual                  FERROR(3)
  3.  
  4. NNAAMMEE
  5.      cclleeaarreerrrr, ffeeooff, ffeerrrroorr, ffiilleennoo - check and reset stream status
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssttddiioo..hh>>
  9.  
  10.      _v_o_i_d
  11.      cclleeaarreerrrr(_F_I_L_E _*_s_t_r_e_a_m)
  12.  
  13.      _i_n_t
  14.      ffeeooff(_F_I_L_E _*_s_t_r_e_a_m)
  15.  
  16.      _i_n_t
  17.      ffeerrrroorr(_F_I_L_E _*_s_t_r_e_a_m)
  18.  
  19.      _i_n_t
  20.      ffiilleennoo(_F_I_L_E _*_s_t_r_e_a_m)
  21.  
  22. DDEESSCCRRIIPPTTIIOONN
  23.      The function cclleeaarreerrrr() clears the end­of­file and error indicators for
  24.      the stream pointed to by _s_t_r_e_a_m.
  25.  
  26.      The function ffeeooff() tests the end­of­file indicator for the stream point­
  27.      ed to by _s_t_r_e_a_m, returning non­zero if it is set.  The end­of­file indi­
  28.      cator can only be cleared by the function cclleeaarreerrrr().
  29.  
  30.      The function ffeerrrroorr() tests the error indicator for the stream pointed to
  31.      by _s_t_r_e_a_m, returning non­zero if it is set.  The error indicator can only
  32.      be reset by the cclleeaarreerrrr() function.
  33.  
  34.      The function ffiilleennoo() examines the argument _s_t_r_e_a_m and returns its inte­
  35.      ger desciptor.
  36.  
  37. EERRRROORRSS
  38.      These functions should not fail and do not set the external variable
  39.      _e_r_r_n_o.
  40.  
  41. SSEEEE AALLSSOO
  42.      open(2),  stdio(3)
  43.  
  44. SSTTAANNDDAARRDDSS
  45.      The functions cclleeaarreerrrr(), ffeeooff(), and ffeerrrroorr() conform to ANSI
  46.      C3.159­1989 (``ANSI C'').
  47.  
  48. BSD Experimental                 June 29, 1991                               1
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.