/* declarations for error(3) */ #ifndef _ERROR_H #define _ERROR_H extern char *progname; char *mkprogname(const char *argv0); void error(char *fmt, ...); typedef void (*__ERRFN)(void); void (*errcleanup(__ERRFN))(void); FILE *efopen(char *file, char *mode); FILE *efreopen(char *file, char *mode, FILE *fp); void *emalloc(unsigned n, char *itemname); void *erealloc(void *p, unsigned n, char *itemname); #endif