Go to the source code of this file.
Functions | |
| void* | xcalloc (size_t nmemb, size_t size) |
| void* | xmalloc (size_t size) |
| void | xfree (void **ptr) |
| void* | xrealloc (void *ptr, size_t size) |
| char* | xstrdup (const char *s) |
|
|
Calls calloc with the given parameters and returns its result, after checking that the call succeeded. |
|
|
Calls malloc with the given parameters and returns its result, after checking that the call succeeded. |
|
|
Calls free on the given pointer, then sets the pointer to NULL. |
|
|
Calls realloc with the given parameters and returns its result, after checking that the call succeeded. |
|
|
Calls strdup and checks the result. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001