programming:c:function strcpyWhat links here?

Description

The strcpy() function copies the string pointed to by s2 (including the terminating null character) into the array pointed to by s1. If copying occurs between objects that overlap, the behavior is undefined.

The function strcpy() does not allocate any storage. The caller must insure that the buffer pointed to by s1 is long enough to hold string s2 and its terminating null character.

Syntax

char *strcpy(char *s1, const char *s2)


Parameters



Return Values

The strcpy() function returns the value of s1.
programming:c:function strcpy
code vault - dbgprintf
programming - C - function isprint
programming - HTML5 - canvas
programming - Free Pascal
programming - pascal - procedure - delete
microprocessors - microchip pics - programming interface
programming:c:function fgetc
programming - algorithms - 3D - Rotation
programming:c:function ferror
programming - target - linux
programming cgi
programming - windows - message path
programming:c:function strcat
programming - pascal - procedure - str
programming - C - function ftell
programming - algorithms - graph drawing
programming - embedded mozilla
filename:programming:c:function strcpy
filename:programming%3Ac%3Afunction%20strcpy
last edit:April 05 2009 22:01:46 (6336 days ago)
ct = 1786425788.000000 = August 11 2026 01:23:08
ft = 1238983306.000000 = April 05 2009 22:01:46
dt = 547442482.000000