|
|
1.1 root 1: #ifndef __SYS_CMN_ERR_H__
2: #define __SYS_CMN_ERR_H__
3:
4: /*
5: *-IMPORTS:
6: * <common/ccompat.h>
7: * __EXTERN_C_BEGIN__
8: * __EXTERN_C_END__
9: * __PROTO ()
10: */
11:
12: #include <common/ccompat.h>
13:
14:
15: /*
16: * This header defins prototypes and constants for the DDI/DKI error-reporting
17: * function cmn_err ().
18: */
19:
20: /*
21: * Error severity
22: */
23:
24: enum { CE_CONT = 0, /* used to continue a previous message */
25: CE_NOTE, /* used to display a NOTICE: message */
26: CE_WARN, /* used to display a WARNING: message */
27: CE_PANIC, /* used to display a PANIC: message */
28: CE_INVALID /* used to warn about invalid severity */
29: };
30:
31:
32: __EXTERN_C_BEGIN__
33:
34: void cmn_err __PROTO ((int _level, char * _format, ...));
35:
36: __EXTERN_C_END__
37:
38:
39:
40: #endif /* ! defined (__SYS_CMN_ERR_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.