diff options
Diffstat (limited to 'lib/libc/aarch64/string/bzero.c')
-rw-r--r-- | lib/libc/aarch64/string/bzero.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libc/aarch64/string/bzero.c b/lib/libc/aarch64/string/bzero.c new file mode 100644 index 000000000000..d82f3061865b --- /dev/null +++ b/lib/libc/aarch64/string/bzero.c @@ -0,0 +1,14 @@ +/*- + * Public domain. + */ + +#include <string.h> + +#undef bzero /* _FORTIFY_SOURCE */ + +void +bzero(void *b, size_t len) +{ + + memset(b, 0, len); +} |