xref: /haiku/src/system/libroot/posix/string/bzero.c (revision cbe0a0c436162d78cc3f92a305b64918c839d079)
1 /*
2 ** Copyright 2001, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
5 
6 
7 #include <sys/types.h>
8 #include <string.h>
9 
10 
11 #ifdef bzero
12 #	undef bzero
13 #endif
14 
15 void bzero(void *dest, size_t count);
16 
17 void
18 bzero(void *dest, size_t count)
19 {
20 	memset(dest, 0, count);
21 }
22 
23