search for: a2155e3

Displaying 1 result from an estimated 1 matches for "a2155e3".

Did you mean: 21553
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
...memmove.o memchr.o memrchr.o bzero.o \ strcasecmp.o strncasecmp.o strndup.o strerror.o strsignal.o \ strcat.o strchr.o strcmp.o strcpy.o strdup.o strlen.o strnlen.o \ strncat.o strlcpy.o strlcat.o \ diff --git a/usr/klibc/bzero.c b/usr/klibc/bzero.c new file mode 100644 index 0000000..a2155e3 --- /dev/null +++ b/usr/klibc/bzero.c @@ -0,0 +1,9 @@ +#include <string.h> + +void bzero(void *dst, size_t n) +{ + char *q = dst; + + while (n--) + *q++ = 0; +} commit 9066a0392b2f1f52814cf38a29070866fe0181c9 Author: maximilian attems <max at stro.at> Date: Fri Aug 24 23:09:03 2007...