summaryrefslogtreecommitdiff
path: root/libiberty/memset.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
committerDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
commit39423523167c47f72822dbb9eb3ab4a0dfeafe68 (patch)
treeb437d1ed0d3cb7e6a0a67e5dd30ef19abbedb95e /libiberty/memset.c
parent4e6667ac4f987fecbcf576513c70485a4718712e (diff)
downloadbinutils-gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/memset.c')
-rw-r--r--libiberty/memset.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libiberty/memset.c b/libiberty/memset.c
index 5f54831e83c..489ca174815 100644
--- a/libiberty/memset.c
+++ b/libiberty/memset.c
@@ -1,6 +1,17 @@
/* memset
This implementation is in the public domain. */
+/*
+
+@deftypefn Supplemental void* memset (void *@var{s}, int @var{c}, size_t @var{count})
+
+Sets the first @var{count} bytes of @var{s} to the constant byte
+@var{c}, returning a pointer to @var{s}.
+
+@end deftypefn
+
+*/
+
#include <ansidecl.h>
#ifdef __STDC__
#include <stddef.h>