|
|
coherent
memccpy() String Function memccpy() Copy one region of memory into another up to a requested character #iinncclluuddee <ssttrriinngg.hh> cchhaarr *mmeemmccccppyy(_d_e_s_t, _s_r_c, _c, _n) cchhaarr *_d_e_s_t, *_s_r_c; uunnssiiggnneedd iinntt _c, _n; mmeemmccccppyy copies characters from _s_r_c to _d_e_s_t, stopping when either it finds the first occurrence of character _c or it has copied _n characters. Unlike the routines ssttrrccppyy and ssttrrnnccppyy, mmeemmccppyy copies from one region to another. Therefore, it will not halt automatically when it encounters a null character. mmeemmccccppyy returns a pointer to the first location after character _c in _d_e_s_t, or NULL if character _c was not found. ***** See Also ***** mmeemmccppyy(), ssttrrccppyy(), ssttrrnnccppyy(), ssttrriinngg ffuunnccttiioonnss, ssttrriinngg.hh ***** Notes ***** mmeemmccccppyy is not part of the ANSI C Standard. Use of this library routine may restrict portability. If _d_e_s_t and _s_r_c overlap, the behavior of mmeemmccccppyy is undefined. _d_e_s_t should point to enough reserved memory to hold _n bytes of data; otherwise, data corruption may result. COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.