2018-11-17 17:56:09 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
|
2019-02-25 12:05:32 +03:00
|
|
|
__BEGIN_DECLS
|
|
|
|
|
2018-11-17 17:56:09 +03:00
|
|
|
enum {
|
|
|
|
LC_ALL,
|
|
|
|
LC_NUMERIC,
|
2019-02-08 04:38:21 +03:00
|
|
|
LC_CTYPE,
|
2019-02-23 19:24:50 +03:00
|
|
|
LC_COLLATE,
|
2019-02-26 14:57:02 +03:00
|
|
|
LC_TIME,
|
2018-11-17 17:56:09 +03:00
|
|
|
};
|
|
|
|
|
2019-02-25 12:05:32 +03:00
|
|
|
struct lconv {
|
2019-02-26 16:05:28 +03:00
|
|
|
char* decimal_point;
|
|
|
|
char* thousands_sep;
|
|
|
|
char* grouping;
|
2019-02-25 12:05:32 +03:00
|
|
|
};
|
2018-11-17 17:56:09 +03:00
|
|
|
|
2019-02-25 12:05:32 +03:00
|
|
|
struct lconv* localeconv();
|
2018-11-17 17:56:09 +03:00
|
|
|
char* setlocale(int category, const char* locale);
|
|
|
|
|
|
|
|
__END_DECLS
|
|
|
|
|