mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
9 lines
149 B
C
9 lines
149 B
C
|
#include <string.h>
|
||
|
|
||
|
/* prevent the compiler from optimizing away memset or bzero */
|
||
|
void
|
||
|
explicit_bzero(void *p, size_t n)
|
||
|
{
|
||
|
memset(p, 0, n);
|
||
|
}
|