src/poison.h File Reference

#include "config.h"
#include <string.h>

Go to the source code of this file.

Functions

static void poison_noaccess (void *p, size_t length)
 Poisons the specified memory area and marks it as "not accessible".
static void poison_undefined (void *p, size_t length)
 Poisons the specified memory area and marks it as "not defined".

Function Documentation

static void poison_noaccess ( void *  p,
size_t  length 
) [inline, static]

Poisons the specified memory area and marks it as "not accessible".

Parameters:
p pointer to the memory area
length number of bytes to poison

Definition at line 40 of file poison.h.

static void poison_undefined ( void *  p,
size_t  length 
) [inline, static]

Poisons the specified memory area and marks it as "not defined".

Parameters:
p pointer to the memory area
length number of bytes to poison

Definition at line 61 of file poison.h.

Generated on Sun May 2 21:28:32 2010 for MPD by  doxygen 1.6.3