Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. char* strcpy(char* strDest,char* strSource)
  2. {
  3.         char* res;
  4.         res=strDest;
  5.         while(1)
  6.         {
  7.                 *strDest=*strSource;
  8.                 if (*strSource=='\0')
  9.                         break;
  10.                 strDest++;
  11.                 strSource++;
  12.         }
  13.         return res;    
  14. }
  15.