

fwrite()                  STDIO Function                 fwrite()




Write into file stream

#include <stdio.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;

fwrite writes  n items, each of size bytes,  from buffer into the
file stream pointed to by fp.

***** Example *****

For an  example of how  to use this  function, see the  entry for
fopen.

***** See Also *****

fread(), STDIO

***** Diagnostics *****

fwrite normally returns the number of items written.  If an error
occurs, the returned value will not be the same as n.


































COHERENT Lexicon                                           Page 1


