X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fstrcpy.c;h=f9b340ef691d6944cf000eb59d117f43be71a9bd;hp=94f54b40efc730ebd9074deb19d6b249f8d360f1;hb=1d9d92ba957a0b8307c9a65c35867fde68e6533b;hpb=8c8750c2826684c2420571a8007b9606f72c9040 diff --git a/functions/string/strcpy.c b/functions/string/strcpy.c index 94f54b4..f9b340e 100644 --- a/functions/string/strcpy.c +++ b/functions/string/strcpy.c @@ -1,16 +1,16 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- +/* ---------------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------------- + * Public Domain C Library - http://pdclib.sourceforge.net + * This code is Public Domain. Use, modify, and redistribute at will. + * --------------------------------------------------------------------------*/ char * strcpy( char * restrict dest, const char * restrict src ) { char * tmp = dest; while ( ( *dest++ = *src++ ) != '\0' ) { - // EMPTY + /* EMPTY */ } return tmp; }