Add constants for fast path resume copying
[coreboot.git] / src / lib / memset.c
1 #include <string.h>
2
3 void *memset(void *s, int c, size_t n)
4 {
5         int i;
6         char *ss = (char *) s;
7
8         for (i = 0; i < (int)n; i++)
9                 ss[i] = c;
10
11         return s;
12 }