repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* elf/Makefile (ld.so): Adjust the sed script to insert _begin in to
[glibc.git]
/
manual
/
examples
/
fmtmsgexpl.c
blob
42b8bb517fd3dc2f01a77b7c157cb71de2d65c1e
1
#include <fmtmsg.h>
2
3
int
4
main
(
void
)
5
{
6
addseverity
(
5
,
"NOTE2"
);
7
fmtmsg
(
MM_PRINT
,
"only1field"
,
MM_INFO
,
"text2"
,
"action2"
,
"tag2"
);
8
fmtmsg
(
MM_PRINT
,
"UX:cat"
,
5
,
"invalid syntax"
,
"refer to manual"
,
9
"UX:cat:001"
);
10
fmtmsg
(
MM_PRINT
,
"label:foo"
,
6
,
"text"
,
"action"
,
"tag"
);
11
return
0
;
12
}