~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to src/reference/plain/strcpy.c

  • Committer: Michael Hope
  • Date: 2010-08-30 23:30:25 UTC
  • Revision ID: michael.hope@linaro.org-20100830233025-2f14wknqev6ryj01
Modified the imported versions to build locally.  Added the CSL routines.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
char* strcpy(char *dst0, const char *src0)
 
2
{
 
3
  char *s = dst0;
 
4
 
 
5
  while (*dst0++ = *src0++)
 
6
    ;
 
7
 
 
8
  return s;
 
9
}