home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alde ADA 1: #1
/
CCCC 8804 Volume 1 Number 1 - Alde.iso
/
C
/
MISC
/
LIB
/
DLIBSSRC.ARC
/
STRCPY.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1987-06-14
|
281 b
|
15 lines
char *strcpy(dest, source)
register char *dest;
register char *source;
/*
* Copies the <source> string to the <dest> including the '\0'. A
* pointer to the start of <dest> is returned.
*/
{
register char *p = dest;
while(*dest++ = *source++)
;
return(p);
}