programming:c:function strncatWhat links here?

Description

The strncat() function appends up to n characters from string s2 to string s1, and then appends a terminating null character. The initial character of s2 overwrites the null character at the end of s1. Subsequent characters in s2 are appended to s1 until either the end of s2 is reached or n characters have been copied. If copying takes place between objects that overlap, the behavior is undefined.

The function strncat() does not allocate any storage. The caller must insure that the buffer pointed to by s1 is long enough to hold the added characters.

Syntax

char *strncat(char *s1, const char *s2, size_t n)


Parameters



Return Values

The strncat() function returns the value of s1.
programming:c:function strncat
programming:c:function strchr
programming:c:functions:_splitpath
programming:windows:SetWindowText
programming:c:function iscntrl
programming:cpp:Cpp operator overloading
programming:c:function rewind
programming:c:function strpos
programming:c:function strtok
programming:c:function isalpha
programming:c:function strrev
programming - C - function strrchr
programming:c:function feof
programming:c:format string flags
programming - C - function isxdigit
AutoCAD - Dialog Control Language (DCL) - button
programming:c:function getc
programming:c:function strncpy
filename:programming:c:function strncat
filename:programming%3Ac%3Afunction%20strncat
last edit:April 06 2009 02:05:50 (6429 days ago)
ct = 1794509846.000000 = November 12 2026 18:57:26
ft = 1238983550.000000 = April 06 2009 02:05:50
dt = 555526296.000000