Update.
[glibc.git] / manual / examples / fmtmsgexpl.c
blob42b8bb517fd3dc2f01a77b7c157cb71de2d65c1e
1 #include <fmtmsg.h>
3 int
4 main (void)
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;