Pristine Ack-5.5
[Ack-5.5.git] / modules / src / string / btszero.c
1 /* $Id: btszero.c,v 1.6 1994/06/24 11:22:33 ceriel Exp $ */
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
9 #include "ack_string.h"
10
11 char *
12 btszero(b, n)
13         char *b;
14         register int n;
15 {
16         register char *s = b;
17
18         while (n-- > 0)
19                 *s++ = '\0';
20         
21         return b;
22 }