Last change
on this file since 450 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
273 bytes
|
Line | |
---|
1 | /* $OpenBSD: explicit_bzero.c,v 1.2 2014/06/10 04:17:37 deraadt Exp $ */ |
---|
2 | /* |
---|
3 | * Public domain. |
---|
4 | * Written by Ted Unangst |
---|
5 | */ |
---|
6 | |
---|
7 | #include <string.h> |
---|
8 | |
---|
9 | /* |
---|
10 | * explicit_bzero - don't let the compiler optimize away bzero |
---|
11 | */ |
---|
12 | void |
---|
13 | explicit_bzero(void *p, size_t n) |
---|
14 | { |
---|
15 | bzero(p, n); |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.