liboom 1.0.1
Debugging helper library with Memory leak detection
oomstub.h
Go to the documentation of this file.
1
33#ifndef __OOMSTUB_H__
34#define __OOMSTUB_H__
35
36#ifdef HAVE_CONFIG_H
37#include "config.h"
38#endif
39
40void oomstub_setcountdown(const int counter);
42
43#endif /* __OOMSTUB_H__ */
44
45/* vim: set tw=80: */
int oomstub_getcountdown()
Gets the current malloc countdown before triggering a failure.
Definition: oomstub.c:72
void oomstub_setcountdown(const int counter)
Sets the malloc countdown before triggering a failure.
Definition: oomstub.c:62