repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
clock_adjtime: add time64 support, decouple 32-bit time_t, fix x32
[musl.git]
/
include
/
fmtmsg.h
blob
d944b06f8d2db9882c6820ae7419e09ecb8d55a8
1
#ifndef _FMTMSG_H
2
#define _FMTMSG_H
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#define MM_HARD 1
9
#define MM_SOFT 2
10
#define MM_FIRM 4
11
12
#define MM_APPL 8
13
#define MM_UTIL 16
14
#define MM_OPSYS 32
15
16
#define MM_RECOVER 64
17
#define MM_NRECOV 128
18
19
#define MM_PRINT 256
20
#define MM_CONSOLE 512
21
22
#define MM_NULLMC 0L
23
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
29
30
#define MM_OK 0
31
#define MM_NOTOK (-1)
32
#define MM_NOMSG 1
33
#define MM_NOCON 4
34
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
40
41
int
fmtmsg
(
long
,
const char
*,
int
,
const char
*,
const char
*,
const char
*);
42
43
#ifdef __cplusplus
44
}
45
#endif
46
47
#endif