ffcclloossee() -- STDIO Function (libc)

Close a stream
#iinncclluuddee <ssttddiioo.hh>
iinntt ffcclloossee(_f_p) FFIILLEE *_f_p;

ffcclloossee() closes  the stream ffpp. It  calls fffflluusshh() on the  given _f_p, closes
the  associated file,  and  releases any  allocated  buffer.  The  function
eexxiitt() calls ffcclloossee() for open streams.

_E_x_a_m_p_l_e
For examples of  how to use this function, see  the entries for ffooppeenn() and
ffsseeeekk().

_S_e_e _A_l_s_o
lliibbcc
ANSI Standard, section 7.9.5.1
POSIX Standard, section 8.1

_D_i_a_g_n_o_s_t_i_c_s
ffcclloossee() returns EEOOFF if an error occurs.
