version 1.1.1.1, 2008/06/03 10:38:50 |
version 1.1.1.1.2.1, 2008/08/13 17:12:41 |
|
|
* SUCH DAMAGE. |
* SUCH DAMAGE. |
*/ |
*/ |
|
|
|
#include <sys/types.h> |
#include <prex/prex.h> |
#include <prex/prex.h> |
#include <sys/param.h> |
#include <sys/param.h> |
#include <sys/syslog.h> |
#include <sys/syslog.h> |
#include <string.h> |
#include <string.h> |
#include <errno.h> |
#include <errno.h> |
|
#include <stdlib.h> |
#include "malloc.h" |
#include "malloc.h" |
|
|
#ifdef _REENTRANT |
#ifdef _REENTRANT |
|
|
{ |
{ |
struct header *p; |
struct header *p; |
|
|
syslog(LOG_INFO, "mstat: task=%x\n", task_self()); |
printf("mstat: task=%x\n", task_self()); |
for (p = free_list.next; p != &free_list; p = p->next) { |
for (p = free_list.next; p != &free_list; p = p->next) { |
syslog(LOG_INFO, "mstat: addr=%x size=%d next=%x\n", p, p->size, p->next); |
printf("mstat: addr=%x size=%d next=%x\n", p, p->size, p->next); |
} |
} |
} |
} |
#endif |
#endif |