1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#pragma once #include <sys/cdefs.h> __BEGIN_DECLS enum { LC_ALL, LC_NUMERIC, LC_CTYPE, LC_COLLATE, LC_TIME, }; struct lconv { char* decimal_point; char* thousands_sep; char* grouping; }; struct lconv* localeconv(); char* setlocale(int category, const char* locale); __END_DECLS