handle non-matching address family entries in hosts file
[musl.git] / include / fmtmsg.h
blobd944b06f8d2db9882c6820ae7419e09ecb8d55a8
1 #ifndef _FMTMSG_H
2 #define _FMTMSG_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #define MM_HARD 1
9 #define MM_SOFT 2
10 #define MM_FIRM 4
12 #define MM_APPL 8
13 #define MM_UTIL 16
14 #define MM_OPSYS 32
16 #define MM_RECOVER 64
17 #define MM_NRECOV 128
19 #define MM_PRINT 256
20 #define MM_CONSOLE 512
22 #define MM_NULLMC 0L
24 #define MM_HALT 1
25 #define MM_ERROR 2
26 #define MM_WARNING 3
27 #define MM_INFO 4
28 #define MM_NOSEV 0
30 #define MM_OK 0
31 #define MM_NOTOK (-1)
32 #define MM_NOMSG 1
33 #define MM_NOCON 4
35 #define MM_NULLLBL ((char*)0)
36 #define MM_NULLTXT ((char*)0)
37 #define MM_NULLACT ((char*)0)
38 #define MM_NULLTAG ((char*)0)
39 #define MM_NULLSEV 0
41 int fmtmsg(long, const char *, int, const char *, const char *, const char *);
43 #ifdef __cplusplus
45 #endif
47 #endif