ffwwrriittee() -- STDIO Function (libc)

Write into file stream
#iinncclluuddee <ssttddiioo.hh>
iinntt ffwwrriittee(_b_u_f_f_e_r, _s_i_z_e, _n, _f_p)
cchhaarr *_b_u_f_f_e_r; uunnssiiggnneedd _s_i_z_e, _n; FFIILLEE *_f_p;

ffwwrriittee() writes  _n items,  each of  _s_i_z_e bytes, from  _b_u_f_f_e_r into  the file
stream pointed to by _f_p.

_E_x_a_m_p_l_e
For an example of how to use this function, see the entry for ffooppeenn().

_S_e_e _A_l_s_o
ffrreeaadd(), lliibbcc
ANSI Standard, section 7.9.8.2
POSIX Standard, section 8.1

_D_i_a_g_n_o_s_t_i_c_s
ffwwrriittee() normally returns the number of items written.  If an error occurs,
the returned value will not be the same as _n.
