FERROR(3) 1989 FERROR(3) NNAAMMEE ferror, feof, clearerr, fileno - stream status inquiries SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttddiioo..hh>> ffeeooff((ssttrreeaamm)) FFIILLEE **ssttrreeaamm;; ffeerrrroorr((ssttrreeaamm)) FFIILLEE **ssttrreeaamm cclleeaarreerrrr((ssttrreeaamm)) FFIILLEE **ssttrreeaamm ffiilleennoo((ssttrreeaamm)) FFIILLEE **ssttrreeaamm;; DDEESSCCRRIIPPTTIIOONN _F_e_o_f returns non-zero when end of file is read on the named input _s_t_r_e_a_m, otherwise zero. Unless cleared by _c_l_e_a_r_e_r_r, the end-of-file indication lasts until the stream is closed. _F_e_r_r_o_r returns non-zero when an error has occurred reading or writing the named _s_t_r_e_a_m, otherwise zero. Unless cleared by _c_l_e_a_r_e_r_r, the error indication lasts until the stream is closed. _C_l_e_a_r_e_r_r resets the error and end-of-file indicators on the named _s_t_r_e_a_m. _F_i_l_e_n_o returns the integer file descriptor associated with the _s_t_r_e_a_m, see _o_p_e_n(2). Currently all of these functions are implemented as macros; they cannot be redeclared. SSEEEE AALLSSOO open(2), fopen(3) Printed 7/27/90 April 1