 |
Index for Section 9r |
|
 |
Alphabetical listing for S |
|
 |
Bottom of page |
|
strcpy(9r)
NAME
strcpy - General: Copies a null-terminated character string
SYNOPSIS
char * strcpy(
char *s1,
char *s2 );
ARGUMENTS
s1 Specifies a pointer to a buffer large enough to hold the string s2.
s2 Specifies a pointer to a string (an array of characters terminated by a
null character).
DESCRIPTION
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.
RETURN VALUES
The routine returns a pointer to the location following the end of the
destination buffer, s1.
SEE ALSO
Routines: bcopy(9r), blkclr(9r), copystr(9r), ovbcopy(9r), strncpy(9r)
 |
Index for Section 9r |
|
 |
Alphabetical listing for S |
|
 |
Top of page |
|