]> andersk Git - moira.git/blob - util/et/com_err.h
Set creation time and creator information for new users.
[moira.git] / util / et / com_err.h
1 /*
2  * Header file for common error description library.
3  *
4  * Copyright 1988, Student Information Processing Board of the
5  * Massachusetts Institute of Technology.
6  *
7  * For copyright and distribution info, see the documentation supplied
8  * with this package.
9  */
10
11 #ifndef COM_ERR__H
12 #define COM_ERR__H
13
14 #include <stdarg.h>
15
16 typedef void (*com_err_handler_t)(const char *, long, const char *, va_list);
17
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,
20                 va_list args);
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);
24
25 #endif
This page took 0.043947 seconds and 5 git commands to generate.