_malloc.c

foundationI_fluffos_v1/lib/cmds/creator/_malloc.c · 346 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

#include <std.h>

inherit DAEMON;

int
cmd_malloc(string arg)
{
	malloc_status();
	return 1;
}

int help()
{
  write( @EndText
Syntax: malloc
Effect: Lists memory usage statistics
        Output will depend on memory management package specified in options.h
        when the driver is compiled.
See man: malloc_status
EndText
  );
  return 1;
}

Site Stats

Snippets: 1791
Codebases: 571