[uClibc-cvs] CVS uClibc/include

CVS User andersen andersen at codepoet.org
Mon Nov 8 03:34:44 UTC 2004


Update of /var/cvs/uClibc/include
In directory nail:/tmp/cvs-serv25017/include

Modified Files:
	malloc.h 
Log Message:
Some requested additional malloc entry points


--- /var/cvs/uClibc/include/malloc.h	2004/09/07 09:17:17	1.5
+++ /var/cvs/uClibc/include/malloc.h	2004/11/08 03:34:43	1.6
@@ -145,6 +145,15 @@
 /* Returns a copy of the updated current mallinfo. */
 extern struct mallinfo mallinfo __MALLOC_P ((void));
 
+/* Release all but __pad bytes of freed top-most memory back to the
+   system. Return 1 if successful, else 0. */
+extern int malloc_trim(size_t pad);
+
+#include <stdio.h>
+/* Prints brief summary statistics to the specified file.
+ * Writes to stderr if file is NULL. */
+extern void malloc_stats(FILE *file);
+
 /* SVID2/XPG mallopt options */
 #ifndef M_MXFAST
 # define M_MXFAST  1	/* UNUSED in this malloc */



More information about the uClibc-cvs mailing list