osf1 man page for strcpy

Query: strcpy

OS: osf1

Section: 9r

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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) - redhat
copystr(9r) - osf1
strcpy(9f) - sunos
strncat(9f) - sunos
strspn(9f) - sunos
Similar Topics in the Unix Linux Community
multiuser chat server closes when one client closes. code included
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