Daily bump.
[official-gcc.git] / libiberty / bzero.c
blob1f52d2d3098f311b4e900f9a871174cdc17e7bec
1 /* Portable version of bzero for systems without it.
2 This function is in the public domain. */
4 /*
6 @deftypefn Supplemental void bzero (char *@var{mem}, int @var{count})
8 Zeros @var{count} bytes starting at @var{mem}. Use of this function
9 is deprecated in favor of @code{memset}.
11 @end deftypefn
16 void
17 bzero (char *to, int count)
19 while (count-- > 0)
21 *to++ = 0;