mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
cae8e96bf5
Maybe kosaki had a better version, but CI failure emails are annoying. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
8 lines
149 B
C
8 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);
|
|
}
|