repo.or.cz
/
haiku.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
headers/bsd: Add sys/queue.h.
[haiku.git]
/
src
/
system
/
libroot
/
posix
/
string
/
bzero.c
blob
f0ab5b23a8cf96ef2b2fbee57d9bdba70a1cf9d3
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