xmalloc.c File Reference
#include <sys/types.h>
#include <stdio.h>
#include "xmalloc.h"
Go to the source code of this file.
|
Defines |
#define | errmsg "mplib: Memory exhausted: Could not allocate %d bytes\n" |
Functions |
void * | xmalloc (size_t s) |
void * | xmallocd (size_t s, char *descrl) |
void * | xmallocd0 (size_t s, char *descr) |
void * | xmalloc0 (size_t s) |
void * | xrealloc (void *ptr, size_t s) |
void | xfree (void *ptr) |
Define Documentation
#define errmsg "mplib: Memory exhausted: Could not allocate %d bytes\n" |
|
Function Documentation
void xfree |
( |
void * |
ptr |
) |
|
|
void* xmalloc |
( |
size_t |
s |
) |
|
|
void* xmalloc0 |
( |
size_t |
s |
) |
|
|
void* xmallocd |
( |
size_t |
s, |
|
|
char * |
descrl |
|
) |
|
|
void* xmallocd0 |
( |
size_t |
s, |
|
|
char * |
descr |
|
) |
|
|
void* xrealloc |
( |
void * |
ptr, |
|
|
size_t |
s |
|
) |
|
|