Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

alloc.c File Reference

Memory functions. More...

Go to the source code of this file.

Enumerations

enum  errorcode { ERR_NONE = 0, ERR_NO_MEM }

Functions

void * _stp_alloc (size_t len)
 Allocates memory within a probe.
void * _stp_calloc (size_t len)
 Allocates and clears memory within a probe.
void * _stp_valloc (size_t len)
 Allocates and clears memory outside a probe.
void _stp_free (void *ptr)
 Frees memory allocated by _stp_alloc or _stp_calloc.
void _stp_vfree (void *ptr)
 Frees memory allocated by _stp_valloc.

Variables

enum errorcode _stp_error = ERR_NONE


Detailed Description

Memory functions.

Definition in file alloc.c.