summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mp_msg.c b/mp_msg.c
index a0f641957e..8099305d6f 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -8,6 +8,13 @@
#ifdef CONFIG_ICONV
#include <iconv.h>
#include <errno.h>
+/**
+ * \brief gets the name of the system's terminal character set
+ * \return a malloced string indicating the system charset
+ *
+ * Be warned that this function on many systems is in no way thread-safe
+ * since it modifies global data
+ */
char* get_term_charset(void);
#endif