view src/lib/safe-memset.h @ 903:fd8888f6f037 HEAD

Naming style changes, finally got tired of most of the typedefs. Also the previous enum -> macro change reverted so that we don't use the highest bit anymore, that's incompatible with old indexes so they will be rebuilt.
author Timo Sirainen <tss@iki.fi>
date Sun, 05 Jan 2003 15:09:51 +0200
parents bf38c8f30a4c
children e4eb71ae8e96
line wrap: on
line source

#ifndef __SAFE_MEMSET_H
#define __SAFE_MEMSET_H

/* memset() guaranteed not to get optimized away by compiler.
   Should be used instead of memset() when clearing any sensitive data. */
void safe_memset(void *data, int c, size_t size);

#endif