2 * Header file for common error description library.
4 * Copyright 1988, Student Information Processing Board of the
5 * Massachusetts Institute of Technology.
7 * For copyright and distribution info, see the documentation supplied
16 typedef void (*com_err_handler_t)(const char *, long, const char *, va_list);
18 void com_err(const char *progname, long code, const char *fmt, ...);
19 void com_err_va(const char *progname, long code, const char *fmt,
21 char const *error_message(long code);
22 com_err_handler_t set_com_err_hook(com_err_handler_t handler);
23 com_err_handler_t reset_com_err_hook(void);