]> gcc.gnu.org Git - gcc.git/blame - libgcc/memset.c
Daily bump.
[gcc.git] / libgcc / memset.c
CommitLineData
8f99553f
JM
1/* Public domain. */
2#include <stddef.h>
3
4void *
5memset (void *dest, int val, size_t len)
6{
7 unsigned char *ptr = dest;
8 while (len-- > 0)
9 *ptr++ = val;
10 return dest;
11}
This page took 2.535977 seconds and 5 git commands to generate.