|
|
coherent
strcpy() String Function strcpy() Copy one string into another #include <string.h> cchhaarr *ssttrrccppyy(_s_t_r_i_n_g_1, _s_t_r_i_n_g_2) cchhaarr *_s_t_r_i_n_g_1, *_s_t_r_i_n_g_2; strcpy copies the contents of string2, up to the null character, into string1 and returns string1. ***** Example ***** See string. ***** See Also ***** memcpy(), string functions, string.h, strncpy() ***** Notes ***** string1 must point to enough space to hold string2, or another portion of the program or operating system may 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.