ubase

suckless linux base utils
git clone git://git.suckless.org/ubase
Log | Files | Refs | README | LICENSE

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 }