You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
543 B
19 lines
543 B
9 years ago
|
/* $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 */
|