XINU
lib
bzero.c
Go to the documentation of this file.
1
12
void
bzero
(
13
void
*p,
14
int
len)
15
{
16
int
n;
17
char
*pch = (
char
*)p;
18
19
if
((n = len) <= 0)
20
{
21
return
;
22
}
23
do
24
{
25
*pch++ = 0;
26
}
while
(--n);
27
}
bzero
void bzero(void *p, int len)
Byteブロック領域の先頭N bytesを数値ゼロで埋める。
Definition:
bzero.c:12
Generated by
1.8.13