xref: /haiku/src/system/libroot/posix/string/bzero.c (revision f2b4344867e97c3f4e742a1b4a15e6879644601a)
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