#ifndef _aux_h_ #define _aux_h_ /* ** File: aux.h ** Desc: Some generally useful functions for c-hey ... ** Auth: Cian Synnott ** Date: Mon Dec 14 16:28:43 GMT 1998 */ #include "config.h" /* Do 'perror(msg)' and then exit with error .. */ extern void perror_exit(char *msg); /* Printf-formatted error to stderr, then exit .. */ extern void printerr_exit(char *fmt, ...); /* Printf-formatted error, but no exit ... */ extern void printerr(char *fmt, ...); /* If there's no strdup() available, use my own */ #ifndef HAVE_STRDUP extern char *mystrdup(const char *str); #endif #endif