/* $Id: messages.h $ * * Message and error reporting (possibly fatal). * */ #if !defined(_MESSAGES_H) #define _MESSAGES_H /* The reporting functions. The ones prefaced by "sys" add a colon, a space, and the results of strerror(errno) to the output and are intended for reporting failures of system calls. */ extern void die(const char *, ...) __attribute__((__noreturn__, __format__(printf, 1, 2))); extern void sysdie(const char *, ...) __attribute__((__noreturn__, __format__(printf, 1, 2))); #endif /* _MESSAGES_H */