44 #if !defined(RTLD_NEXT)
45 #define RTLD_NEXT RTLD_DEFAULT
48 #if defined(HAVE___PROGNAME)
49 extern char *__progname;
52 #if defined(HAVE_GETPROGNAME)
57 #if defined(HAVE___PROGNAME)
69 static void *(*real_malloc)(
size_t size) =
NULL;
70 static void *(*real_calloc)(
size_t number,
size_t size) =
NULL;
71 static void *(*real_realloc)(
void *ptr,
size_t size) =
NULL;
static void *(* real_calloc)(size_t number, size_t size)
static void *(* real_malloc)(size_t size)
void * realloc(void *ptr, size_t size)
const char * getprogname(void)
static const char * myname
void * malloc(size_t size)
void * calloc(size_t number, size_t size)
static void *(* real_realloc)(void *ptr, size_t size)