strcpy - General: Copies a null-terminated character
string
char * strcpy(
char *s1,
char *s2 );
Specifies a pointer to a buffer large enough to hold the
string s2. Specifies a pointer to a string (an array of
characters terminated by a null character).
The strcpy routine copies string s2 to buffer s1. The routine
stops copying after it copies a null character. Note
that the character size is 1 byte.
The routine returns a pointer to the location following
the end of the destination buffer, s1.
Routines: bcopy(9r), blkclr(9r), copystr(9r), ovbcopy(9r),
strncpy(9r)
strcpy(9r)
[ Back ] |