|
|
coherent
memcpy() String Function memcpy() Copy one region of memory into another #include <string.h> cchhaarr *mmeemmccppyy(_r_e_g_i_o_n_1, _r_e_g_i_o_n_2, _n); cchhaarr *_r_e_g_i_o_n_1; cchhaarr *_r_e_g_i_o_n_2; uunnssiiggnneedd iinntt _n; memcpy copies n characters from region2 into region1. Unlike the routines strcpy and strncpy, memcpy copies from one region to another. Therefore, it will not halt automatically when it en- counters a null character. memcpy returns region1. ***** See Also ***** strcpy(), string functions, string.h ***** Notes ***** If region1 and region2 overlap, the behavior of memcpy is un- defined. region1 should point to enough reserved memory to hold n bytes of data; otherwise, code or data will be overwritten. COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.