2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / libiberty / bzero.c
index d01644b7f4b8a4ed1317490d6531d97a5225c70b..1f52d2d3098f311b4e900f9a871174cdc17e7bec 100644 (file)
@@ -2,27 +2,19 @@
    This function is in the public domain.  */
 
 /*
-NAME
-       bzero -- zero the contents of a specified memory region
 
-SYNOPSIS
-       void bzero (char *to, int count)
+@deftypefn Supplemental void bzero (char *@var{mem}, int @var{count})
 
-DESCRIPTION
-       Zero COUNT bytes of memory pointed to by TO.
+Zeros @var{count} bytes starting at @var{mem}.  Use of this function
+is deprecated in favor of @code{memset}.
 
-BUGS
-       Significant speed enhancements may be made in some environments
-       by zeroing more than a single byte at a time, or by unrolling the
-       loop.
+@end deftypefn
 
 */
 
 
 void
-bzero (to, count)
-  char *to;
-  int count;
+bzero (char *to, int count)
 {
   while (count-- > 0)
     {
This page took 0.023211 seconds and 4 git commands to generate.