\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}{L\+C\+\_\+\+M\+E\+S\+S\+A\+G\+ES}}~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 
char $\ast$ \mbox{\hyperlink{group__Evil__Locale__Group_ga98e3bef6e7b476009fe7b169f7a18e48}{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 L\+C\+\_\+\+M\+E\+S\+S\+A\+G\+ES~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_ga98e3bef6e7b476009fe7b169f7a18e48}\label{group__Evil__Locale__Group_ga98e3bef6e7b476009fe7b169f7a18e48}} 
\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 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 L\+C\+\_\+\+A\+LL, L\+C\+\_\+\+C\+O\+L\+L\+A\+TE, L\+C\+\_\+\+C\+T\+Y\+PE, L\+C\+\_\+\+M\+O\+N\+E\+T\+A\+RY, L\+C\+\_\+\+N\+U\+M\+E\+R\+IC or L\+C\+\_\+\+T\+I\+ME, it just returns the standard setlocale() function. If {\ttfamily category} is \mbox{\hyperlink{group__Evil__Locale__Group_ga7195d6f0a8d1b9d164a3988a1b8249e8}{L\+C\+\_\+\+M\+E\+S\+S\+A\+G\+ES}}, then if {\ttfamily locale} is not {\ttfamily N\+U\+LL}, errno is set to E\+I\+N\+V\+AL and {\ttfamily N\+U\+LL} 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}{L\+C\+\_\+\+M\+E\+S\+S\+A\+G\+ES}} and {\ttfamily locale} is {\ttfamily N\+U\+LL}.

Conformity\+: Non applicable.

Supported OS\+: Windows XP.

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


References L\+C\+\_\+\+M\+E\+S\+S\+A\+G\+ES.

