|
|
1.1 ! root 1: ! 2: ! 3: fwrite() STDIO Function fwrite() ! 4: ! 5: ! 6: ! 7: ! 8: Write into file stream ! 9: ! 10: #include <stdio.h> ! 11: iinntt ffwwrriittee(_b_u_f_f_e_r, _s_i_z_e, _n, _f_p) ! 12: cchhaarr *_b_u_f_f_e_r; uunnssiiggnneedd _s_i_z_e, _n; FFIILLEE *_f_p; ! 13: ! 14: fwrite writes n items, each of size bytes, from buffer into the ! 15: file stream pointed to by fp. ! 16: ! 17: ***** Example ***** ! 18: ! 19: For an example of how to use this function, see the entry for ! 20: fopen. ! 21: ! 22: ***** See Also ***** ! 23: ! 24: fread(), STDIO ! 25: ! 26: ***** Diagnostics ***** ! 27: ! 28: fwrite normally returns the number of items written. If an error ! 29: occurs, the returned value will not be the same as n. ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.