projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mi_make_breakpoint: add "evaluated-by" option
[deliverable/binutils-gdb.git]
/
libiberty
/
memset.c
diff --git
a/libiberty/memset.c
b/libiberty/memset.c
index 489ca1748157c034d17c376d7cf725c8c4ed784b..476668961271373f5e9e12b76e7fd9a32cf7879b 100644
(file)
--- a/
libiberty/memset.c
+++ b/
libiberty/memset.c
@@
-3,7
+3,8
@@
/*
/*
-@deftypefn Supplemental void* memset (void *@var{s}, int @var{c}, size_t @var{count})
+@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}.
Sets the first @var{count} bytes of @var{s} to the constant byte
@var{c}, returning a pointer to @var{s}.
@@
-13,15
+14,10
@@
Sets the first @var{count} bytes of @var{s} to the constant byte
*/
#include <ansidecl.h>
*/
#include <ansidecl.h>
-#ifdef __STDC__
#include <stddef.h>
#include <stddef.h>
-#else
-#define size_t unsigned long
-#endif
PTR
PTR
-DEFUN(memset, (dest, val, len),
- PTR dest AND register int val AND register size_t len)
+memset (PTR dest, register int val, register size_t len)
{
register unsigned char *ptr = (unsigned char*)dest;
while (len-- > 0)
{
register unsigned char *ptr = (unsigned char*)dest;
while (len-- > 0)
This page took
0.023858 seconds
and
4
git commands to generate.