summaryrefslogtreecommitdiff
path: root/include/monetary.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-03-21 00:47:37 -0400
committerRich Felker <dalias@aerifal.cx>2012-03-21 00:47:37 -0400
commit25501c1079756c9b438842da649585c2a6983c24 (patch)
tree422642ec7a55231a10ea7cac5c45f73bd31656f5 /include/monetary.h
parent30df206cb0c66848142898115d301a0d80333d0f (diff)
downloadmusl-25501c1079756c9b438842da649585c2a6983c24.tar.gz
musl-25501c1079756c9b438842da649585c2a6983c24.tar.bz2
musl-25501c1079756c9b438842da649585c2a6983c24.tar.xz
musl-25501c1079756c9b438842da649585c2a6983c24.zip
initial, very primitive strfmon
Diffstat (limited to 'include/monetary.h')
-rw-r--r--include/monetary.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/monetary.h b/include/monetary.h
new file mode 100644
index 00000000..df904eb0
--- /dev/null
+++ b/include/monetary.h
@@ -0,0 +1,21 @@
+#ifndef _MONETARY_H
+#define _MONETARY_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define __NEED_ssize_t
+#define __NEED_size_t
+#define __NEED_locale_t
+
+#include <bits/alltypes.h>
+
+ssize_t strfmon(char *, size_t, const char *, ...);
+ssize_t strfmon_l(char *, size_t, locale_t, const char *, ...);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif