strcpy(9r) osf1 man page | unix.com

Man Page: strcpy

Operating Environment: osf1

Section: 9r

strcpy(9r)																strcpy(9r)

NAME
strcpy - General: Copies a null-terminated character string
SYNOPSIS
char * strcpy( char *s1, char *s2 );
ARGUMENTS
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).
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) strcpy(9r)
Related Man Pages
strcpy(3) - suse
strncpy(3) - suse
bcopy(9r) - osf1
strlcat(9f) - sunos
strlcpy(9f) - sunos
Similar Topics in the Unix Linux Community
Merge two strings by overlapped region
Adding to an array in an external file, and adding elements to it.
Pipe usage error while visiting directories
Format specifier for sscanf() in C