mailing list of musl libc
 help / color / mirror / code / Atom feed
bdc4a52ae8ea2a9599a6f7d312a233577821d7b8 blob 1017 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
 
#ifndef _FMTMSG_H
#define _FMTMSG_H

/* Major: source of problem */
#define	MM_HARD			0x0001
#define	MM_SOFT			0x0002
#define	MM_FIRM			0x0004

/* Source subclassification: code encountering the problem */
#define	MM_APPL			0x0008
#define	MM_UTIL			0x0010
#define	MM_OPSYS		0x0020

/* Display subclassification */
#define	MM_PRINT		0x0100
#define	MM_CONSOLE		0x0200

/* Can we recover? */
#define	MM_RECOVER		0x0040
#define	MM_NRECOV		0x0080

#define	MM_NULLMC		0L

/* Severity */
#define	MM_HALT			0x1
#define	MM_ERROR		0x2
#define	MM_WARNING		0x3
#define	MM_INFO			0x4
#define	MM_NOSEV		0x0

/* Return */
#define	MM_OK			0x00000000
#define	MM_NOTOK		0xffffffff
#define	MM_NOMSG		0x00000001
#define	MM_NOCON		0x00000004

#define MM_NULLLBL		(char*)0
#define MM_NULLTXT		(char*)0
#define MM_NULLACT		(char*)0
#define MM_NULLTAG		(char*)0
#define MM_NULLSEV		0


#ifdef __cplusplus
extern "C" {
#endif
int fmtmsg(long, const char *, int, const char *, const char *, const char *);

#ifdef __cplusplus
}
#endif

#endif
debug log:

solving bdc4a52 ...
found bdc4a52 in https://inbox.vuxu.org/musl/20140425050559.GA5487@muslin/

applying [1/1] https://inbox.vuxu.org/musl/20140425050559.GA5487@muslin/
diff --git a/include/fmtmsg.h b/include/fmtmsg.h
new file mode 100644
index 0000000..bdc4a52

Checking patch include/fmtmsg.h...
Applied patch include/fmtmsg.h cleanly.

index at:
100644 bdc4a52ae8ea2a9599a6f7d312a233577821d7b8	include/fmtmsg.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).