2 |
This function is in the public domain. */ |
This function is in the public domain. */ |
3 |
|
|
4 |
/* |
/* |
|
NAME |
|
|
bzero -- zero the contents of a specified memory region |
|
5 |
|
|
6 |
SYNOPSIS |
@deftypefn Supplemental void bzero (char *@var{mem}, int @var{count}) |
|
void bzero (char *to, int count) |
|
7 |
|
|
8 |
DESCRIPTION |
Zeros @var{count} bytes starting at @var{mem}. Use of this function |
9 |
Zero COUNT bytes of memory pointed to by TO. |
is deprecated in favor of @code{memset}. |
10 |
|
|
11 |
BUGS |
@end deftypefn |
|
Significant speed enhancements may be made in some environments |
|
|
by zeroing more than a single byte at a time, or by unrolling the |
|
|
loop. |
|
12 |
|
|
13 |
*/ |
*/ |
14 |
|
|