summaryrefslogtreecommitdiffstats
path: root/include/sys/cmn_err.h
blob: c76e4f465c43203d8a521ef8a40f1cf4dd24c189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _SPL_CMN_ERR_H
#define _SPL_CMN_ERR_H

#include <sys/varargs.h>

#define CE_CONT         0       /* continuation         */
#define CE_NOTE         1       /* notice               */
#define CE_WARN         2       /* warning              */
#define CE_PANIC        3       /* panic                */
#define CE_IGNORE       4       /* print nothing        */

extern void cmn_err(int, const char *, ...);
extern void vcmn_err(int, const char *, __va_list);
extern void vpanic(const char *, __va_list);

#endif /* SPL_CMN_ERR_H */