aboutsummaryrefslogtreecommitdiffstats
path: root/eprintf.h
blob: aecc3a637f13121ea7cca446a96a22da8b1c97df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 */