strcpy.c 306 B

1234567891011121314151617
  1. /* $Header$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. /* Copy t into s
  7. */
  8. char *
  9. strcpy(s, t)
  10. register char *s, *t;
  11. {
  12. register char *b = s;
  13. while (*s++ = *t++)
  14. ;
  15. return b;
  16. }