10 /* Allocate SIZE bytes of memory. */
12 extern PTR mmalloc
PARAMS ((PTR
, size_t));
14 /* Re-allocate the previously allocated block in PTR, making the new block
17 extern PTR mrealloc
PARAMS ((PTR
, PTR
, size_t));
19 /* Allocate NMEMB elements of SIZE bytes each, all initialized to 0. */
21 extern PTR mcalloc
PARAMS ((PTR
, size_t, size_t));
23 /* Free a block allocated by `mmalloc', `mrealloc' or `mcalloc'. */
25 extern void mfree
PARAMS ((PTR
, PTR
));
27 /* Allocate SIZE bytes allocated to ALIGNMENT bytes. */
29 extern PTR mmemalign
PARAMS ((PTR
, size_t, size_t));
31 /* Allocate SIZE bytes on a page boundary. */
33 extern PTR mvalloc
PARAMS ((PTR
, size_t));
35 /* Activate a standard collection of debugging hooks. */
37 extern int mmcheck
PARAMS ((PTR
, void (*) (void)));
39 /* Pick up the current statistics. (see FIXME elsewhere) */
41 extern struct mstats mmstats
PARAMS ((PTR
));
43 extern PTR mmalloc_attach
PARAMS ((int, PTR
));
45 extern PTR mmalloc_detach
PARAMS ((PTR
));
47 extern int mmalloc_setkey
PARAMS ((PTR
, int, PTR
));
49 extern PTR mmalloc_getkey
PARAMS ((PTR
, int));
51 extern int mmalloc_errno
PARAMS ((PTR
));
53 #endif /* MMALLOC_H */
This page took 0.029905 seconds and 4 git commands to generate.