133965Sjdp/* Portable version of bzero for systems without it. 233965Sjdp This function is in the public domain. */ 333965Sjdp 433965Sjdp/* 533965Sjdp 689857Sobrien@deftypefn Supplemental void bzero (char *@var{mem}, int @var{count}) 733965Sjdp 889857SobrienZeros @var{count} bytes starting at @var{mem}. Use of this function 989857Sobrienis deprecated in favor of @code{memset}. 1033965Sjdp 1189857Sobrien@end deftypefn 1233965Sjdp 1333965Sjdp*/ 1433965Sjdp 15218822Sdim#include <stddef.h> 1633965Sjdp 17218822Sdimextern void *memset(void *, int, size_t); 18218822Sdim 1933965Sjdpvoid 20218822Sdimbzero (void *to, size_t count) 2133965Sjdp{ 22218822Sdim memset (to, 0, count); 2333965Sjdp} 24