diff options
author | Stan Shebs <shebs@codesourcery.com> | 1999-04-16 01:34:07 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1999-04-16 01:34:07 +0000 |
commit | 071ea11e85eb9d529cc5eb3d35f6247466a21b99 (patch) | |
tree | 5deda65b8d7b04d1f4cbc534c3206d328e1267ec /mmalloc/mmalloc.h | |
parent | 1730ec6b1848f0f32154277f788fb29f88d8475b (diff) | |
download | gdb-071ea11e85eb9d529cc5eb3d35f6247466a21b99.zip gdb-071ea11e85eb9d529cc5eb3d35f6247466a21b99.tar.gz gdb-071ea11e85eb9d529cc5eb3d35f6247466a21b99.tar.bz2 |
Initial creation of sourceware repository
Diffstat (limited to 'mmalloc/mmalloc.h')
-rw-r--r-- | mmalloc/mmalloc.h | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/mmalloc/mmalloc.h b/mmalloc/mmalloc.h deleted file mode 100644 index 34e3898..0000000 --- a/mmalloc/mmalloc.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef MMALLOC_H -#define MMALLOC_H 1 - -/* FIXME: If <stddef.h> doesn't exist, you'll need to do something - to define size_t before including this file. Like upgrading - to a system with an ANSI C environment. */ - -#ifdef HAVE_STDDEF_H -# include <stddef.h> -#endif - -#include "ansidecl.h" - -/* Allocate SIZE bytes of memory. */ - -extern PTR mmalloc PARAMS ((PTR, size_t)); - -/* Re-allocate the previously allocated block in PTR, making the new block - SIZE bytes long. */ - -extern PTR mrealloc PARAMS ((PTR, PTR, size_t)); - -/* Allocate NMEMB elements of SIZE bytes each, all initialized to 0. */ - -extern PTR mcalloc PARAMS ((PTR, size_t, size_t)); - -/* Free a block allocated by `mmalloc', `mrealloc' or `mcalloc'. */ - -extern void mfree PARAMS ((PTR, PTR)); - -/* Allocate SIZE bytes allocated to ALIGNMENT bytes. */ - -extern PTR mmemalign PARAMS ((PTR, size_t, size_t)); - -/* Allocate SIZE bytes on a page boundary. */ - -extern PTR mvalloc PARAMS ((PTR, size_t)); - -/* Activate a standard collection of debugging hooks. */ - -extern int mmcheck PARAMS ((PTR, void (*) (void))); - -extern int mmcheckf PARAMS ((PTR, void (*) (void), int)); - -/* Pick up the current statistics. (see FIXME elsewhere) */ - -extern struct mstats mmstats PARAMS ((PTR)); - -extern PTR mmalloc_attach PARAMS ((int, PTR)); - -extern PTR mmalloc_detach PARAMS ((PTR)); - -extern int mmalloc_setkey PARAMS ((PTR, int, PTR)); - -extern PTR mmalloc_getkey PARAMS ((PTR, int)); - -extern int mmalloc_errno PARAMS ((PTR)); - -extern int mmtrace PARAMS ((void)); - -#endif /* MMALLOC_H */ |