From 7a802c4ff4c715f50825d833fa44f2ad1a5993f4 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 1 Mar 2018 11:44:02 +0000 Subject: init commit --- eprintf.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 eprintf.h (limited to 'eprintf.h') diff --git a/eprintf.h b/eprintf.h new file mode 100644 index 0000000..0bd662b --- /dev/null +++ b/eprintf.h @@ -0,0 +1,16 @@ +#ifndef EPRINTF_EPRINTF_H +#define EPRINTF_EPRINTF_H +#include +#include + +noreturn void eprintf(const char *fmt, ...) + __attribute__((format(printf, 1, 2))); +void weprintf(const char *fmt, ...) + __attribute__((format(printf, 1, 2))); +char *estrdup(const char *str); +void *emalloc(size_t size); +void *ecalloc(size_t nmemb, size_t size); +void *erealloc(void *p, size_t size); +void setprogname(const char *name); + +#endif // !EPRINTF_EPRINTF_H -- cgit v1.2.3-54-g00ecf