/usr/include/libzia/zfence.h is in libzia-dev 4.09-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | /*
zfence - allocator for glib
Copyright (C) 2012 Ladislav Vaiz <ok1zia@nagano.cz>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.
*/
#ifndef __ZFENCE_H
#define __ZFENCE_H
#include <libziaint.h>
#include <glib.h>
void zfence_init(gsize padsize, char padchar, int memvalue);
void zfence_free(void);
void zfence_check(void);
gpointer zfence_malloc(gsize n_bytes);
gpointer zfence_realloc (gpointer mem, gsize n_bytes);
void zfence_mfree(gpointer mem);
#endif
|