1 /* cygheap_malloc.h: Cygwin heap manager allocation functions.
3 This file is part of Cygwin.
5 This software is a copyrighted work licensed under the terms of the
6 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9 #ifndef _CYGHEAP_MALLOC_H
10 #define _CYGHEAP_MALLOC_H
42 void *cmalloc (cygheap_types
, size_t);
43 void *crealloc (void *, size_t);
44 void *ccalloc (cygheap_types
, size_t, size_t);
45 void *cmalloc_abort (cygheap_types
, size_t);
46 void *crealloc_abort (void *, size_t);
47 void *ccalloc_abort (cygheap_types
, size_t, size_t);
48 PWCHAR
cwcsdup (PCWSTR
);
49 PWCHAR
cwcsdup1 (PCWSTR
);
50 char *cstrdup (const char *);
51 char *cstrdup1 (const char *);
52 void cfree_and_set (char *&, char * = NULL
);
55 #endif /*_CYGHEAP_MALLOC_H*/