aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/monetary.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/monetary.h')
-rw-r--r--system/include/libc/monetary.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/system/include/libc/monetary.h b/system/include/libc/monetary.h
new file mode 100644
index 00000000..a91fa565
--- /dev/null
+++ b/system/include/libc/monetary.h
@@ -0,0 +1,23 @@
+#ifndef _MONETARY_H
+#define _MONETARY_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <features.h>
+
+#define __NEED_ssize_t
+#define __NEED_size_t
+#define __NEED_locale_t
+
+#include <bits/alltypes.h>
+
+ssize_t strfmon(char *__restrict, size_t, const char *__restrict, ...);
+ssize_t strfmon_l(char *__restrict, size_t, locale_t, const char *__restrict, ...);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif