[Ada] Make Timed_Task_Entry_Call's defer_abort nestable
[official-gcc.git] / libiberty / bzero.c
blob44ad73da4d6e956cd012fc4de3ddc32b8a37f1ec
1 /* Portable version of bzero for systems without it.
2 This function is in the public domain. */
4 /*
6 @deftypefn Supplemental void bzero (char *@var{mem}, int @var{count})
8 Zeros @var{count} bytes starting at @var{mem}. Use of this function
9 is deprecated in favor of @code{memset}.
11 @end deftypefn
15 #include <stddef.h>
17 extern void *memset(void *, int, size_t);
19 void
20 bzero (void *to, size_t count)
22 memset (to, 0, count);