The Netsukuku Project  0.0.9
An Alternative routing method
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
xmalloc.c File Reference
#include <stdlib.h>
#include <string.h>
#include "xmalloc.h"
#include "log.h"
Include dependency graph for xmalloc.c:

Functions

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

Function Documentation

void _xfree ( void *  ptr)

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  size)

Here is the call graph for this function:

void* xrealloc ( void *  ptr,
size_t  new_size 
)

Here is the call graph for this function:

Here is the caller graph for this function:

char* xstrdup ( const char *  str)

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: