PageRenderTime 25ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/development/gui/chocolatecastle/source/libvstring/strcopy.c

https://repo.or.cz/AROS-Contrib.git
C | 12 lines | 6 code | 5 blank | 1 comment | 1 complexity | 52aecff43aefc69a3dadf9895980755a MD5 | raw file
Possible License(s): LGPL-2.1, GPL-3.0, MIT, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.0, MPL-2.0-no-copyleft-exception, BSD-3-Clause, 0BSD, AGPL-1.0
  1. /* libvstring/strcopy.c */
  2. #include "libvstring.h"
  3. STRPTR StrCopy(STRPTR s, STRPTR d)
  4. {
  5. while (*d++ = *s++);
  6. return (--d);
  7. }