mirror of
https://github.com/tmux/tmux.git
synced 2024-11-18 02:18:53 +00:00
16 lines
242 B
C
16 lines
242 B
C
|
/* $OpenBSD: explicit_bzero.c,v 1.4 2015/08/31 02:53:57 guenther Exp $ */
|
||
|
/*
|
||
|
* Public domain.
|
||
|
* Written by Matthew Dempsky.
|
||
|
*/
|
||
|
|
||
|
#include <string.h>
|
||
|
|
||
|
#include "compat.h"
|
||
|
|
||
|
void
|
||
|
explicit_bzero(void *buf, size_t len)
|
||
|
{
|
||
|
memset(buf, 0, len);
|
||
|
}
|