xref: /third_party/musl/libc-test/src/api/fmtmsg.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/libc-test/src/api/
1570af302Sopenharmony_ci#ifdef X_FMTMSG
2570af302Sopenharmony_ci#include <fmtmsg.h>
3570af302Sopenharmony_ci#define C(n) switch(n){case n:;}
4570af302Sopenharmony_cistatic void f()
5570af302Sopenharmony_ci{
6570af302Sopenharmony_ciC(MM_HARD)
7570af302Sopenharmony_ciC(MM_SOFT)
8570af302Sopenharmony_ciC(MM_FIRM)
9570af302Sopenharmony_ciC(MM_APPL)
10570af302Sopenharmony_ciC(MM_UTIL)
11570af302Sopenharmony_ciC(MM_OPSYS)
12570af302Sopenharmony_ciC(MM_RECOVER)
13570af302Sopenharmony_ciC(MM_NRECOV)
14570af302Sopenharmony_ciC(MM_HALT)
15570af302Sopenharmony_ciC(MM_ERROR)
16570af302Sopenharmony_ciC(MM_WARNING)
17570af302Sopenharmony_ciC(MM_INFO)
18570af302Sopenharmony_ciC(MM_NOSEV)
19570af302Sopenharmony_ciC(MM_PRINT)
20570af302Sopenharmony_ciC(MM_CONSOLE)
21570af302Sopenharmony_ciC(MM_OK)
22570af302Sopenharmony_ciC(MM_NOTOK)
23570af302Sopenharmony_ciC(MM_NOMSG)
24570af302Sopenharmony_ciC(MM_NOCON)
25570af302Sopenharmony_ci{int(*p)(long,const char*,int,const char*,const char*,const char*) = fmtmsg;}
26570af302Sopenharmony_ci}
27570af302Sopenharmony_ci#else
28570af302Sopenharmony_cistatic void f(){}
29570af302Sopenharmony_ci#endif
30

Indexes created Thu Nov 07 10:32:03 CST 2024