home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
e
/
emxdev8f.zip
/
MALLOC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-18
|
804b
|
43 lines
/* malloc.h (emx+gcc) */
#if !defined (_MALLOC_H)
#define _MALLOC_H
#if defined (__cplusplus)
extern "C" {
#endif
#if !defined (_SIZE_T)
#define _SIZE_T
typedef unsigned long size_t;
#endif
#if !defined (NULL)
#define NULL ((void *)0)
#endif
#if !defined (_HEAPOK)
#define _HEAPOK 0
#define _HEAPEMPTY 1
#define _HEAPBADBEGIN 2
#define _HEAPBADNODE 3
#define _HEAPBADEND 4
#define _HEAPBADROVER 5
#endif
void *calloc (size_t elements, size_t size);
void free (void *mem);
void *malloc (size_t size);
void *realloc (void *mem, size_t size);
void *_expand (void *mem, size_t new_size);
int _heapchk (void);
int _heapset (unsigned fill);
size_t _msize (__const__ void *mem);
#if defined (__cplusplus)
}
#endif
#endif /* !defined (_MALLOC_H) */