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. Definition at line 53 of file xalloc.c. Referenced by enterDumbMode().
|
|
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. Definition at line 66 of file xalloc.c. Referenced by appendToDmBuffer().
|
|
Calls strdup and checks the result. Definition at line 74 of file xalloc.c. Referenced by getUnescapedString(), yy_start_stack(), and yyparse().
|