summaryrefslogtreecommitdiff
path: root/clients/xzwrite/nmalloc.h
blob: 57144c7cf43959e85f4e4b230a5eb7bae00e61c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _malloc_
#define _malloc_

#define New(TYPE) ((TYPE *)malloc(sizeof(TYPE)))
malloc_init ( /* start */ );
int m_blocksize( /* a_block */ );
char * malloc ( /* n */ );		/* get a block */
free ( /* mem */ );
char * realloc ( /* mem, n */ );
struct mstats_value
  {
    int blocksize;
    int nfree;
    int nused;
  };
struct mstats_value malloc_stats ( /* size */ );
get_lim_data ( /*  */ );
get_lim_data ( /*  */ );
get_lim_data ( /*  */ );
#endif _malloc_