From 294b585994da4427ac98a8353ff41aed5f301d54 Mon Sep 17 00:00:00 2001 From: pk33 Date: Fri, 1 Nov 2024 23:51:15 +0100 Subject: Import and fix old code --- include/musl/monetary.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/musl/monetary.h (limited to 'include/musl/monetary.h') diff --git a/include/musl/monetary.h b/include/musl/monetary.h new file mode 100644 index 0000000..a91fa56 --- /dev/null +++ b/include/musl/monetary.h @@ -0,0 +1,23 @@ +#ifndef _MONETARY_H +#define _MONETARY_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +#define __NEED_ssize_t +#define __NEED_size_t +#define __NEED_locale_t + +#include + +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 -- cgit v1.2.3