File:  [MW Coherent from dump] / coherent / a / usr / man / ALL / strncat
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
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



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.