Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

smalloc.h File Reference

Declaration of dynamic memory management routines. More...

#include <config.h>
#include <stdlib.h>

Go to the source code of this file.

Namespaces

namespace  cps

Defines

#define _smalloc_h
 Prevent multiple inclusion.

Functions

void * smalloc (size_t request, const char *vname, const char *fname="smalloc", const char *cname="")
 Allocate memory.
void * smalloc (size_t request)
void * smalloc (const char *cname, const char *fname, const char *vname, size_t request)
 Allocate memory.
void sfree (void *p, const char *vname="", const char *fname="sfree", const char *cname="")
 Free allocate memory.
void sfree (const char *cname, const char *fname, const char *vname, void *p)
 Free memory.
void sclear ()
 Doesn't appear to do anything.
void * fmalloc (size_t request, const char *vname, const char *fname="fmalloc", const char *cname="")
 Allocate memory.
void * fmalloc (size_t request)
void ffree (void *p, const char *vname="", const char *fname="ffree", const char *cname="")
 Free allocate memory.
void ffree (const char *cname, const char *fname, const char *vname, void *p)
void * fmalloc (const char *cname, const char *fname, const char *vname, size_t request)
 Allocate memory.


Detailed Description

Declaration of dynamic memory management routines.

Id
smalloc.h,v 1.12 2006/02/21 21:14:06 chulwoo Exp

Definition in file smalloc.h.


Define Documentation

#define _smalloc_h
 

Prevent multiple inclusion.

Definition at line 25 of file smalloc.h.


Generated on Sat Oct 10 14:11:42 2009 for Columbia Physics System by  doxygen 1.3.9.1