You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
291 B
16 lines
291 B
3 years ago
|
#ifndef _ERROR_H
|
||
|
#define _ERROR_H
|
||
|
|
||
|
#include <stddef.h>
|
||
|
#include <stdarg.h>
|
||
|
|
||
|
void *xmalloc(size_t);
|
||
|
void *xcalloc(size_t, size_t);
|
||
|
void *xrealloc(void *, size_t);
|
||
|
int xasprintf(char **, const char *, ...);
|
||
|
int xvasprintf(char **, const char *, va_list);
|
||
|
|
||
|
char *xstrdup(const char *);
|
||
|
|
||
|
#endif
|