|
|
1.1 ! root 1: ! 2: ! 3: strcpy() String Function strcpy() ! 4: ! 5: ! 6: ! 7: ! 8: Copy one string into another ! 9: ! 10: #include <string.h> ! 11: 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; ! 12: ! 13: strcpy copies the contents of string2, up to the null character, ! 14: into string1 and returns string1. ! 15: ! 16: ***** Example ***** ! 17: ! 18: See string. ! 19: ! 20: ***** See Also ***** ! 21: ! 22: memcpy(), string functions, string.h, strncpy() ! 23: ! 24: ***** Notes ***** ! 25: ! 26: string1 must point to enough space to hold string2, or another ! 27: portion of the program or operating system may be overwritten. ! 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.