The Netsukuku Project  0.0.9
An Alternative routing method
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
xmalloc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define xfree(__pptr)
 

Functions

void * xmalloc (size_t)
 
void * xzalloc (size_t size)
 
void * xrealloc (void *, size_t)
 
void * xcalloc (size_t nmemb, size_t size)
 
void _xfree (void *)
 
char * xstrndup (const char *str, size_t n)
 
char * xstrdup (const char *)
 

Macro Definition Documentation

#define xfree (   __pptr)
Value:
do{ \
char **_p=(char **)&(__pptr); \
_xfree(*_p); \
*_p=0; \
}while(0)
void _xfree(void *)
Definition: xmalloc.c:99

Function Documentation

void _xfree ( void *  )

Here is the call graph for this function:

void* xcalloc ( size_t  nmemb,
size_t  size 
)

Here is the call graph for this function:

void* xmalloc ( size_t  )

Here is the call graph for this function:

void* xrealloc ( void *  ,
size_t   
)

Here is the call graph for this function:

Here is the caller graph for this function:

char* xstrdup ( const char *  )

Here is the call graph for this function:

Here is the caller graph for this function:

char* xstrndup ( const char *  str,
size_t  n 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void* xzalloc ( size_t  size)

Here is the call graph for this function:

Here is the caller graph for this function: