diff options
Diffstat (limited to 'src/strings/bzero.c')
-rw-r--r-- | src/strings/bzero.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/strings/bzero.c b/src/strings/bzero.c index 3d15579c..383d55c3 100644 --- a/src/strings/bzero.c +++ b/src/strings/bzero.c @@ -1,8 +1,9 @@ +#include <string.h> #include <strings.h> -void bzero(void*s, size_t n) +void bzero(void* s, size_t n) { - return 0; + (void)memset(s, '\0', n); } /* |