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
40
void
oomstub_setcountdown
(
const
int
counter);
41
int
oomstub_getcountdown
();
42
43
#endif
/* __OOMSTUB_H__ */
44
45
/* vim: set tw=80: */
oomstub_getcountdown
int oomstub_getcountdown()
Gets the current malloc countdown before triggering a failure.
Definition:
oomstub.c:72
oomstub_setcountdown
void oomstub_setcountdown(const int counter)
Sets the malloc countdown before triggering a failure.
Definition:
oomstub.c:62
include
liboom
oomstub.h
Generated by
1.9.4