1 /* $MirOS: src/include/nl_types.h,v 1.8 2013/10/31 20:06:07 tg Exp $ */ 2 3 #ifndef _NL_TYPES_H_ 4 #define _NL_TYPES_H_ 5 6 #include <sys/cdefs.h> 7 8 #define NL_SETD 1 9 #define NL_CAT_LOCALE 1 10 11 typedef int nl_catd; 12 typedef int nl_item; 13 14 __BEGIN_DECLS 15 nl_catd catopen(const char *, int); 16 char *catgets(nl_catd, int, int, const char *) 17 __attribute__((__format_arg__(4))); 18 int catclose(nl_catd); 19 __END_DECLS 20 21 #define catopen(s,f) (0) 22 #define catgets(cid,sid,mid,s) (s) 23 #define catclose(n) (0) 24 25 #endif 26