1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* malloc/malloc.c (malloc_info): New function.

* malloc/malloc.h: Declare it.
	* malloc/Versions: Export malloc_info for GLIBC_2.10.

	* resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp
This commit is contained in:
Ulrich Drepper
2009-04-09 05:45:42 +00:00
parent 0f9c8b4841
commit bb06654506
5 changed files with 160 additions and 4 deletions

View File

@ -23,6 +23,7 @@
#include <features.h>
#include <stddef.h>
#include <stdio.h>
# define __malloc_ptr_t void *
/* Used by GNU libc internals. */
@ -144,6 +145,9 @@ extern size_t malloc_usable_size __MALLOC_P ((void *__ptr));
/* Prints brief summary statistics on stderr. */
extern void malloc_stats __MALLOC_P ((void));
/* Output information about state of allocator to stream FP. */
extern int malloc_info (int __options, FILE *__fp);
/* Record the state of all malloc variables in an opaque data structure. */
extern void *malloc_get_state __MALLOC_P ((void));