4.3BSD-Reno/share/man/cat3/fflush.0

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




FCLOSE(3S)		      1988		       FCLOSE(3S)



NNAAMMEE
     fclose, fflush - close or flush a stream

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

     ffcclloossee((ssttrreeaamm))
     FFIILLEE **ssttrreeaamm;;

     fffflluusshh((ssttrreeaamm))
     FFIILLEE **ssttrreeaamm;;

     ffppuurrggee((ssttrreeaamm))
     FFIILLEE **ssttrreeaamm;;

DDEESSCCRRIIPPTTIIOONN
     _F_c_l_o_s_e causes any buffers for the named _s_t_r_e_a_m to be emp-
     tied, and the file to be closed.  Buffers allocated by the
     standard input/output system are freed.

     _F_c_l_o_s_e is performed automatically upon calling _e_x_i_t(3).

     _F_f_l_u_s_h causes any buffered data for the named output _s_t_r_e_a_m
     to be written to that file.  The stream remains open.

     _F_p_u_r_g_e causes any buffered data for the named _s_t_r_e_a_m to be
     lost.  The stream remains open.

SSEEEE AALLSSOO
     close(2), fopen(3), setbuf(3)

DDIIAAGGNNOOSSTTIICCSS
     These routines return EEOOFF if _s_t_r_e_a_m is not associated with
     an output file, or if buffered data cannot be transferred to
     that file.




















Printed 7/27/90             December				1