Download | Plain Text | No Line Numbers
- /*
- * Name: error
- * Author: Manuel Mausz, 0728348
- * Description: Shared definitions and functions
- * Created: 24.05.2009
- */
-
- #ifndef _ERROR_H
- #define _ERROR_H 1
-
- /*
- * error.c stuff
- */
- #include <stdarg.h>
-
- /* function declarations */
- void vprintferr(int perrno, const char *fmt, va_list ap);
- void printferr(int perrno, const char *fmt, ...);
- void bailout(int perrno, const char *fmt, ...);
-
- /* global variable definitions */
- extern int error; /* error flag */
- extern char *me; /* name of myself (argv[0]) */
- extern int child; /* flag being the child */
-
- #endif
-