diff options
Diffstat (limited to 'libc/string/memset.c')
-rw-r--r-- | libc/string/memset.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/string/memset.c b/libc/string/memset.c deleted file mode 100644 index a446eb4..0000000 --- a/libc/string/memset.c +++ /dev/null @@ -1,9 +0,0 @@ -#include <string.h> - -void *memset(void *dst, const unsigned char c, uint32_t n) { - uintptr_t d = (uintptr_t)dst; - for (uint32_t i = 0; i < n; i++, d++) - *(unsigned char *)d = c; - - return (void *)d; -} |