morpheus-base

morpheus base system
git clone git://git.2f30.org/morpheus-base
Log | Files | Refs

explicit_bzero.c (251B)


      1 /* See LICENSE file for copyright and license details. */
      2 #include <string.h>
      3 
      4 #include "../util.h"
      5 
      6 static void *(*volatile explicit_memset)(void *, int, size_t) = memset;
      7 
      8 void
      9 explicit_bzero(void *b, size_t len)
     10 {
     11 	(*explicit_memset)(b, 0, len);
     12 }