Strcpy - 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

strcpy

copy from one string to another
Synopsis
#include <string.h>
void *strcpy(char *s1, const char *s2);
Description
The
function copies the null-terminated string pointed to by
strcpy
into the space pointed to by
enough to hold
ior of
is undefined if the two objects overlap or if
strcpy
enough. The
strcpy
Error Conditions
The
function does not return an error condition.
strcpy
Example
#include <string.h>
char string1[50];
strcpy(string1, "SOMEFUN");
/* SOMEFUN is copied into string1 */
See Also
memcpy, memmove,
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
. Memory allocated for
s1
, plus one space for the null character ('
s2
function returns the new
strncpy
C/C++ Run-Time Library
must be large
s1
'). The behav-
\0
is not large
s1
.
s1
s2
3-125

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?

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents