Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../proc/self/root/usr/include
File: mcheck.h
/* Copyright (C) 1996-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef _MCHECK_H
[17] Fix | Delete
#define _MCHECK_H 1
[18] Fix | Delete
[19] Fix | Delete
#include <features.h>
[20] Fix | Delete
[21] Fix | Delete
__BEGIN_DECLS
[22] Fix | Delete
[23] Fix | Delete
/* Return values for `mprobe': these are the kinds of inconsistencies that
[24] Fix | Delete
`mcheck' enables detection of. */
[25] Fix | Delete
enum mcheck_status
[26] Fix | Delete
{
[27] Fix | Delete
MCHECK_DISABLED = -1, /* Consistency checking is not turned on. */
[28] Fix | Delete
MCHECK_OK, /* Block is fine. */
[29] Fix | Delete
MCHECK_FREE, /* Block freed twice. */
[30] Fix | Delete
MCHECK_HEAD, /* Memory before the block was clobbered. */
[31] Fix | Delete
MCHECK_TAIL /* Memory after the block was clobbered. */
[32] Fix | Delete
};
[33] Fix | Delete
[34] Fix | Delete
[35] Fix | Delete
/* Activate a standard collection of debugging hooks. This must be called
[36] Fix | Delete
before `malloc' is ever called. ABORTFUNC is called with an error code
[37] Fix | Delete
(see enum above) when an inconsistency is detected. If ABORTFUNC is
[38] Fix | Delete
null, the standard function prints on stderr and then calls `abort'. */
[39] Fix | Delete
extern int mcheck (void (*__abortfunc)(enum mcheck_status)) __THROW;
[40] Fix | Delete
[41] Fix | Delete
/* Similar to `mcheck' but performs checks for all block whenever one of
[42] Fix | Delete
the memory handling functions is called. This can be very slow. */
[43] Fix | Delete
extern int mcheck_pedantic (void (*__abortfunc)(enum mcheck_status)) __THROW;
[44] Fix | Delete
[45] Fix | Delete
/* Force check of all blocks now. */
[46] Fix | Delete
extern void mcheck_check_all (void);
[47] Fix | Delete
[48] Fix | Delete
/* Check for aberrations in a particular malloc'd block. You must have
[49] Fix | Delete
called `mcheck' already. These are the same checks that `mcheck' does
[50] Fix | Delete
when you free or reallocate a block. */
[51] Fix | Delete
extern enum mcheck_status mprobe (void *__ptr) __THROW;
[52] Fix | Delete
[53] Fix | Delete
/* Activate a standard collection of tracing hooks. */
[54] Fix | Delete
extern void mtrace (void) __THROW;
[55] Fix | Delete
extern void muntrace (void) __THROW;
[56] Fix | Delete
[57] Fix | Delete
__END_DECLS
[58] Fix | Delete
#endif /* mcheck.h */
[59] Fix | Delete
[60] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function