vfs: check userland buffers before reading them.
[haiku.git] / src / system / libroot / posix / string / bzero.c
blobf0ab5b23a8cf96ef2b2fbee57d9bdba70a1cf9d3
1 /*
2 ** Copyright 2001, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
7 #include <sys/types.h>
8 #include <string.h>
11 #ifdef bzero
12 # undef bzero
13 #endif
15 void bzero(void *dest, size_t count);
17 void
18 bzero(void *dest, size_t count)
20 memset(dest, 0, count);