28 */
29
30 #ifndef _MONETARY_H
31 #define _MONETARY_H
32
33 #include <sys/feature_tests.h>
34 #include <sys/types.h>
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 #if defined(__STDC__)
41 extern ssize_t strfmon(char *_RESTRICT_KYWD, size_t,
42 const char *_RESTRICT_KYWD, ...);
43
44 #if defined(_XPG7) || (!defined(_STRICT_STRICT_SYMBOLS))
45
46 #ifndef _LOCALE_T
47 #define _LOCALE_T
48 typedef struct locale *locale_t;
49 #endif
50
51 extern ssize_t strfmon_l(char *_RESTRICT_KYWD, size_t, locale_t,
52 const char *_RESTRICT_KYWD, ...);
53 #endif
54
55 #else
56 extern ssize_t strfmon();
57 extern ssize_t strfmon_l();
58 #endif
59
60 #ifdef __cplusplus
61 }
62 #endif
63
64 #endif /* _MONETARY_H */
|
28 */
29
30 #ifndef _MONETARY_H
31 #define _MONETARY_H
32
33 #include <sys/feature_tests.h>
34 #include <sys/types.h>
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 #if defined(__STDC__)
41 extern ssize_t strfmon(char *_RESTRICT_KYWD, size_t,
42 const char *_RESTRICT_KYWD, ...);
43
44 #if defined(_XPG7) || (!defined(_STRICT_STRICT_SYMBOLS))
45
46 #ifndef _LOCALE_T
47 #define _LOCALE_T
48 typedef struct _locale *locale_t;
49 #endif
50
51 extern ssize_t strfmon_l(char *_RESTRICT_KYWD, size_t, locale_t,
52 const char *_RESTRICT_KYWD, ...);
53 #endif
54
55 #else
56 extern ssize_t strfmon();
57 extern ssize_t strfmon_l();
58 #endif
59
60 #ifdef __cplusplus
61 }
62 #endif
63
64 #endif /* _MONETARY_H */
|