SilverScreen Solid Modeler

strcpy

strcpy

Previous topic Next topic  

strcpy

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

char *strcpy( char *s1, char *s2 )

 

char *s1;         /* character buffer that is to receive string copy */

char *s2;         /* string to copy */

 

 




Synopsis

#include "string.h"

 

The strcpy function copies string s2 into the character buffer at s1 , including s2's null-terminator.

 

 

Parameters

s1 is a character buffer that is to receive the string copy. s2 is a null-terminated string that is to be copied.

 

 

Return Value

strcpy returns s1 .

 

 

See Also

strncpy