projects
/
rpikern
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
19de17707b730f4a9c94557fc56a5845869ead17
[rpikern]
/
src
/
libc
/
string.c
1
#include "string.h"
2
3
void *memset(void *ptr, int val, int size)
4
{
5
unsigned char *p = ptr;
6
while(size--) {
7
*p++ = val;
8
}
9
return ptr;
10
}