4.4BSD/usr/share/man/cat3/feof.0

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

FERROR(3)                   BSD Programmer's Manual                  FERROR(3)

NNAAMMEE
     cclleeaarreerrrr, ffeeooff, ffeerrrroorr, ffiilleennoo - check and reset stream status

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssttddiioo..hh>>

     _v_o_i_d
     cclleeaarreerrrr(_F_I_L_E _*_s_t_r_e_a_m);

     _i_n_t
     ffeeooff(_F_I_L_E _*_s_t_r_e_a_m);

     _i_n_t
     ffeerrrroorr(_F_I_L_E _*_s_t_r_e_a_m);

     _i_n_t
     ffiilleennoo(_F_I_L_E _*_s_t_r_e_a_m);

DDEESSCCRRIIPPTTIIOONN
     The function cclleeaarreerrrr() clears the end-of-file and error indicators for
     the stream pointed to by _s_t_r_e_a_m.

     The function ffeeooff() tests the end-of-file indicator for the stream point-
     ed to by _s_t_r_e_a_m, returning non-zero if it is set.  The end-of-file indi-
     cator can only be cleared by the function cclleeaarreerrrr().

     The function ffeerrrroorr() tests the error indicator for the stream pointed to
     by _s_t_r_e_a_m, returning non-zero if it is set.  The error indicator can only
     be reset by the cclleeaarreerrrr() function.

     The function ffiilleennoo() examines the argument _s_t_r_e_a_m and returns its inte-
     ger desciptor.

EERRRROORRSS
     These functions should not fail and do not set the external variable
     _e_r_r_n_o.

SSEEEE AALLSSOO
     open(2),  stdio(3)

SSTTAANNDDAARRDDSS
     The functions cclleeaarreerrrr(), ffeeooff(), and ffeerrrroorr() conform to ANSI C
     X3.159-1989 (``ANSI C '').

4.4BSD                           June 4, 1993                                1