MPD: poison.h File Reference

MPD 0.20.15

Functions
poison.h File Reference
`#include "check.h"`
`#include <string.h>`
Include dependency graph for poison.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". More...
static void | poison_undefined (void *p, size_t length)
| Poisons the specified memory area and marks it as "not defined". More...

## Function Documentation

## ◆ poison_noaccess()

static void poison_noaccess | ( | void * | p,
|  | size_t | length
| ) |  |
| inlinestatic

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 41 of file poison.h.

## ◆ poison_undefined()

static void poison_undefined | ( | void * | p,
|  | size_t | length
| ) |  |
| inlinestatic

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 62 of file poison.h.