summary refs log tree commit diff
path: root/compat/explicit_bzero_win.c
blob: 0d09d906a24c96663c708c9bfcaad2b6f54ccfb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Public domain.
 * Win32 explicit_bzero compatibility shim.
 */

#include <windows.h>
#include <string.h>

void
explicit_bzero(void *buf, size_t len)
{
	SecureZeroMemory(buf, len);
}
ow=1'>Update to man-pages-posix 2017-aJune McEnroe 2020-12-14Update to OpenBSD 6.8June McEnroe 2020-12-14Update to NetBSD 9.1June McEnroe 2020-12-14Update to man-pages 5.09June McEnroe 2020-12-14Update to FreeBSD 12.2June McEnroe 2020-06-08Update to OpenBSD 6.7June McEnroe 2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe 2020-05-04Don't clear MANSECTJune McEnroe