|
|
1.1 ! root 1: ! 2: ! 3: memset() String Function memset() ! 4: ! 5: ! 6: ! 7: ! 8: Fill an area with a character ! 9: ! 10: #include <string.h> ! 11: cchhaarr *mmeemmsseett(_b_u_f_f_e_r, _c_h_a_r_a_c_t_e_r, _n); ! 12: cchhaarr *_b_u_f_f_e_r; iinntt _c_h_a_r_a_c_t_e_r; uunnssiiggnneedd iinntt _n; ! 13: ! 14: memset fills the first n bytes of the area pointed to by buffer ! 15: with copies of character. It casts character to an uunnssiiggnneedd cchhaarr ! 16: before filling buffer with copies of it. ! 17: ! 18: memset returns the pointer buffer. ! 19: ! 20: ***** See Also ***** ! 21: ! 22: string functions, string.h ! 23: ! 24: ! 25: ! 26: ! 27: ! 28: ! 29: ! 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.