\hypertarget{group__Evil__Locale__Group}{}\doxysection{locale.\+h functions.}
\label{group__Evil__Locale__Group}\index{locale.h functions.@{locale.h functions.}}


This header provides functions ported from Unix in locale.\+h.  


\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__Evil__Locale__Group_ga7195d6f0a8d1b9d164a3988a1b8249e8}{LC\+\_\+\+MESSAGES}}~1729
\begin{DoxyCompactList}\small\item\em New locale value, based on the one in libintl.\+h. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EVIL\+\_\+\+API char $\ast$ \mbox{\hyperlink{group__Evil__Locale__Group_ga2ebcd357971e37f9236cb3378e951239}{evil\+\_\+setlocale}} (int category, const char $\ast$locale)
\begin{DoxyCompactList}\small\item\em Return the string associated to the given locale and category. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This header provides functions ported from Unix in locale.\+h. 



\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__Evil__Locale__Group_ga7195d6f0a8d1b9d164a3988a1b8249e8}\label{group__Evil__Locale__Group_ga7195d6f0a8d1b9d164a3988a1b8249e8}} 
\index{locale.h functions.@{locale.h functions.}!LC\_MESSAGES@{LC\_MESSAGES}}
\index{LC\_MESSAGES@{LC\_MESSAGES}!locale.h functions.@{locale.h functions.}}
\doxysubsubsection{\texorpdfstring{LC\_MESSAGES}{LC\_MESSAGES}}
{\footnotesize\ttfamily \#define LC\+\_\+\+MESSAGES~1729}



New locale value, based on the one in libintl.\+h. 

\begin{DoxySince}{Since}
1.\+16 
\end{DoxySince}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Evil__Locale__Group_ga2ebcd357971e37f9236cb3378e951239}\label{group__Evil__Locale__Group_ga2ebcd357971e37f9236cb3378e951239}} 
\index{locale.h functions.@{locale.h functions.}!evil\_setlocale@{evil\_setlocale}}
\index{evil\_setlocale@{evil\_setlocale}!locale.h functions.@{locale.h functions.}}
\doxysubsubsection{\texorpdfstring{evil\_setlocale()}{evil\_setlocale()}}
{\footnotesize\ttfamily EVIL\+\_\+\+API char $\ast$ evil\+\_\+setlocale (\begin{DoxyParamCaption}\item[{int}]{category,  }\item[{const char $\ast$}]{locale }\end{DoxyParamCaption})}



Return the string associated to the given locale and category. 


\begin{DoxyParams}{Parameters}
{\em category} & The category affected by locale. \\
\hline
{\em locale} & The locale specifier. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The string associated to the specified locale and category.
\end{DoxyReturn}
This function returns the string associated to {\ttfamily locale} and {\ttfamily category}. If {\ttfamily category} is LC\+\_\+\+ALL, LC\+\_\+\+COLLATE, LC\+\_\+\+CTYPE, LC\+\_\+\+MONETARY, LC\+\_\+\+NUMERIC or LC\+\_\+\+TIME, it just returns the standard setlocale() function. If {\ttfamily category} is \mbox{\hyperlink{group__Evil__Locale__Group_ga7195d6f0a8d1b9d164a3988a1b8249e8}{LC\+\_\+\+MESSAGES}}, then if {\ttfamily locale} is not {\ttfamily NULL}, errno is set to EINVAL and {\ttfamily NULL} is returned, otherwise the string $<$language$>$\+\_\+$<$country$>$ is returned. This string is a static buffer and must not be freed. It will also be rewritten each time {\ttfamily category} is \mbox{\hyperlink{group__Evil__Locale__Group_ga7195d6f0a8d1b9d164a3988a1b8249e8}{LC\+\_\+\+MESSAGES}} and {\ttfamily locale} is {\ttfamily NULL}.

Conformity\+: Non applicable.

Supported OS\+: Windows XP.

\begin{DoxySince}{Since}
1.\+16 
\end{DoxySince}


References \mbox{\hyperlink{group__Evil__Locale__Group_ga7195d6f0a8d1b9d164a3988a1b8249e8}{LC\+\_\+\+MESSAGES}}.

