Strncat - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

strncat

concatenate characters from one string to another
Synopsis
#include <string.h>
char *strncat(char *s1, const char *s2, size_t n);
Description
The
function appends a copy of up to
strncat
minated string pointed to by
pointed to by
s1
The behavior of
string is terminated with a null ('
s1
Error Conditions
The
function does not return an error condition.
strncat
Example
#include <string.h>
char string1[50], *ptr;
string1[0]='\0';
strncat(string1, "MOREFUN", 4);
/* string1 equals "MORE" */
See Also
strcat
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
to the end of the null-terminated string
s2
. It returns a pointer to the new
is undefined if the two strings overlap. The new
strncat
C/C++ Run-Time Library
characters in the null-ter-
n
string.
s1
').
\0
3-129

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents