freebsd-dev/lib/libc/amd64/string/bzero.c
Mateusz Guzik 6fff634455 amd64: convert libc bzero to a C func to avoid future bloat
Reviewed by:	kib (previous version)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D17549
2018-11-15 20:20:39 +00:00

16 lines
152 B
C

/*-
* Public domain.
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <string.h>
void
bzero(void *b, size_t len)
{
memset(b, 0, len);
}