diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2016-11-24 21:06:24 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2016-11-24 21:06:24 +0000 |
commit | c4c3178f2bc2b85b1d3af928f3e841bd6eb43e35 (patch) | |
tree | a5895b416896b3076796fa1a9ed66f0d897cdfc7 /eprintf.h | |
parent | 4b56f68e9876be3c42b93be1600cfe6d96ca1530 (diff) | |
download | hktool-c4c3178f2bc2b85b1d3af928f3e841bd6eb43e35.tar.gz hktool-c4c3178f2bc2b85b1d3af928f3e841bd6eb43e35.tar.xz hktool-c4c3178f2bc2b85b1d3af928f3e841bd6eb43e35.zip |
eprintf utilities
Diffstat (limited to 'eprintf.h')
-rw-r--r-- | eprintf.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/eprintf.h b/eprintf.h new file mode 100644 index 0000000..aecc3a6 --- /dev/null +++ b/eprintf.h @@ -0,0 +1,15 @@ +#ifndef EPRINTF_H +#define EPRINTF_H +#include <stdnoreturn.h> + +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 *); +void *emalloc(size_t); +void *erealloc(void *, size_t); +char *progname(void); +void setprogname(const char *); + +#endif /* !EPRINTF_H */ |