btszero.c 338 B

12345678910111213141516171819202122
  1. /* $Id$ */
  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. /* btszero()
  7. */
  8. #include "ack_string.h"
  9. char *
  10. btszero(b, n)
  11. char *b;
  12. register int n;
  13. {
  14. register char *s = b;
  15. while (n-- > 0)
  16. *s++ = '\0';
  17. return b;
  18. }