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) - linux
strcpy(3) - redhat
strcpy(3) - suse
bcopy(9r) - osf1
strncpy(9f) - sunos
Similar Topics in the Unix Linux Community
Segfault When Parsing Delimiters In C
Newline in ANSI-C standard functions
Adding to an array in an external file, and adding elements to it.
Parsing syslog from Linux
Format specifier for sscanf() in C