gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / libiberty / bzero.c
CommitLineData
252b5132
RH
1/* Portable version of bzero for systems without it.
2 This function is in the public domain. */
3
4/*
252b5132 5
39423523 6@deftypefn Supplemental void bzero (char *@var{mem}, int @var{count})
252b5132 7
39423523
DD
8Zeros @var{count} bytes starting at @var{mem}. Use of this function
9is deprecated in favor of @code{memset}.
252b5132 10
39423523 11@end deftypefn
252b5132
RH
12
13*/
14
14a88c49
DD
15#include <stddef.h>
16
17extern void *memset(void *, int, size_t);
252b5132
RH
18
19void
14a88c49 20bzero (void *to, size_t count)
252b5132 21{
14a88c49 22 memset (to, 0, count);
252b5132 23}
This page took 0.966407 seconds and 4 git commands to generate.