X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootcensus;a=blobdiff_plain;f=src%2Flibc%2Fstring.c;h=ce3c2e7b7436010fd8025b7a1f20555a1a5cffd4;hp=f251f67a67a7b20decc20887839d3596cc394cf6;hb=5a961b914da78d534e8e2dc6bfb5103114dbff54;hpb=91fc6b749ad3a64c9a2686952eb30be517c6beb9 diff --git a/src/libc/string.c b/src/libc/string.c index f251f67..ce3c2e7 100644 --- a/src/libc/string.c +++ b/src/libc/string.c @@ -17,6 +17,7 @@ along with this program. If not, see . */ #include +/* void memset(void *s, int c, size_t n) { char *ptr = s; @@ -24,10 +25,12 @@ void memset(void *s, int c, size_t n) *ptr++ = c; } } +*/ /* Does the same thing as memset only with 16bit values. * n in this case is the number of values, not the number of bytes. */ +/* void memset16(void *s, int c, size_t n) { int16_t *ptr = s; @@ -35,7 +38,8 @@ void memset16(void *s, int c, size_t n) *ptr++ = c; } } - +*/ +/* void *memcpy(void *dest, const void *src, size_t n) { char *dptr = dest; @@ -46,6 +50,7 @@ void *memcpy(void *dest, const void *src, size_t n) } return dest; } +*/ void *memmove(void *dest, const void *src, size_t n) {