|
|
coherent
strncat() String Function strncat() Append one string onto another #include <string.h> cchhaarr *ssttrrnnccaatt(_s_t_r_i_n_g_1, _s_t_r_i_n_g_2, _n) cchhaarr *_s_t_r_i_n_g_1, *_s_t_r_i_n_g_2; uunnssiiggnneedd _n; strncat copies up to n characters from string2 onto the end of string1. It stops when n characters have been copied or it en- counters a null character in string2, whichever occurs first, and returns the modified string1. ***** Example ***** For an example of this function, see the entry for ssttrrnnccppyy. ***** See Also ***** strcat(), string functions, string.h ***** Notes ***** string1 should point to enough space to hold itself and n charac- ters of string2. If it does not, a 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.