sys/stat.h: fix typo in statx member name stx_dio_offset_align
[musl.git] / include / libintl.h
blob6a707bf0f0011b1de8ab0c81ff885b6c188deff5
1 #ifndef _LIBINTL_H
2 #define _LIBINTL_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #define __USE_GNU_GETTEXT 1
9 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 1 : -1)
11 #if __GNUC__ >= 3
12 #define __fa(n) __attribute__ ((__format_arg__ (n)))
13 #else
14 #define __fa(n)
15 #endif
17 char *gettext(const char *) __fa(1);
18 char *dgettext(const char *, const char *) __fa(2);
19 char *dcgettext(const char *, const char *, int) __fa(2);
20 char *ngettext(const char *, const char *, unsigned long) __fa(1) __fa(2);
21 char *dngettext(const char *, const char *, const char *, unsigned long) __fa(2) __fa(3);
22 char *dcngettext(const char *, const char *, const char *, unsigned long, int) __fa(2) __fa(3);
23 char *textdomain(const char *);
24 char *bindtextdomain (const char *, const char *);
25 char *bind_textdomain_codeset(const char *, const char *);
27 #undef __fa
29 #ifdef __cplusplus
31 #endif
33 #endif