Fruit's git repositories f00f / newdb error.h
newdb

Tree @newdb (Download .tar.gz)

error.h @newdbraw · history · blame

#ifndef ERROR_H
#define ERROR_H

extern unsigned int f00f_debug;
extern void (*f00f_exit_handler)(void);

extern int eprintf(const char *, ...) __attribute__ ((format(printf, 1, 2)));
extern int eputs(const char *);
extern void perror_exit(const char *) __attribute__ ((noreturn));
extern void xerror(const char *, ...) __attribute__ ((noreturn, format(printf, 1, 2)));
extern void f00f_exit(void) __attribute__ ((noreturn));
extern void f00f_fail(void) __attribute__ ((noreturn));

#endif