summaryrefslogtreecommitdiff
path: root/libiberty/bzero.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-09-26 18:45:50 +0000
committerDJ Delorie <dj@delorie.com>2001-09-26 18:45:50 +0000
commitbd7ce1bbb2ea47e045e6dd755cf16f05a2555309 (patch)
tree9fcc8e3e643152ed109636c5420b217c9d116002 /libiberty/bzero.c
parent3d6b05970e5c5b951cf734883641e64090a3c370 (diff)
downloadgdb-bd7ce1bbb2ea47e045e6dd755cf16f05a2555309.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/bzero.c')
-rw-r--r--libiberty/bzero.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/libiberty/bzero.c b/libiberty/bzero.c
index d01644b7f4b..8874118698e 100644
--- a/libiberty/bzero.c
+++ b/libiberty/bzero.c
@@ -2,19 +2,13 @@
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
*/