C Language and Libraries Help (clang.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
strcat, _fstrcat, strncat, _fstrncat
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
─────Run-Time Library───────────────────────────────────────────────────────
The strcat and strncat functions operate on null-terminated
strings. The string arguments to these functions are expected to
contain a null character (\0) marking the end of the string. No
overflow checking is performed when strings are copied or
appended.
The strcat function appends <src> to <dest>, terminates the
resulting string with a null character, and returns a pointer to
the concatenated string (<dest>).
The strncat function appends, at most, the first <count>
characters of <src> to <dest>, terminates the resulting
string with a null character (\0), and returns a pointer to the
concatenated string (<dest>). If <count> is greater than the
length of <src>, the length of <src> is used in place of
<count>.
The _f... forms of these functions are model-independent (large-
model) forms that use far pointer forms of the string arguments
and return values. These model-independent functions can be called
from any point in the program.
Return Value
The return values for these functions are described above.
-♦-