Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/memset.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    22   This implementation is in the public domain.  */
    33
     4/*
     5
     6@deftypefn Supplemental void* memset (void *@var{s}, int @var{c}, size_t @var{count})
     7
     8Sets the first @var{count} bytes of @var{s} to the constant byte
     9@var{c}, returning a pointer to @var{s}.
     10
     11@end deftypefn
     12
     13*/
     14
    415#include <ansidecl.h>
    5 #ifdef __STDC__
     16#ifdef ANSI_PROTOTYPES
    617#include <stddef.h>
    718#else
     
    1021
    1122PTR
    12 DEFUN(memset, (dest, val, len),
    13       PTR dest AND register int val AND register size_t len)
     23memset (dest, val, len)
     24     PTR dest;
     25     register int val;
     26     register size_t len;
    1427{
    1528  register unsigned char *ptr = (unsigned char*)dest;
Note: See TracChangeset for help on using the changeset viewer.