\hypertarget{group__Evil__Time__Group}{}\section{Time.\+h functions}
\label{group__Evil__Time__Group}\index{Time.\+h functions@{Time.\+h functions}}


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


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct tm $\ast$ \mbox{\hyperlink{group__Evil__Time__Group_ga64e37da5e15841b79a15ffcef89fd6f0}{evil\+\_\+localtime\+\_\+r}} (const time\+\_\+t $\ast$timep, struct tm $\ast$result)
\begin{DoxyCompactList}\small\item\em Convert the calendar time to broken-\/time representation in a user supplied data. \end{DoxyCompactList}\item 
char $\ast$ \mbox{\hyperlink{group__Evil__Time__Group_gab33323a8e5a42adb071e6a554caaeaf6}{strptime}} (const char $\ast$buf, const char $\ast$fmt, struct tm $\ast$tm)
\begin{DoxyCompactList}\small\item\em Convert a string representation of time to a time tm structure . \end{DoxyCompactList}\end{DoxyCompactItemize}


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



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Evil__Time__Group_ga64e37da5e15841b79a15ffcef89fd6f0}\label{group__Evil__Time__Group_ga64e37da5e15841b79a15ffcef89fd6f0}} 
\index{Time.\+h functions@{Time.\+h functions}!evil\+\_\+localtime\+\_\+r@{evil\+\_\+localtime\+\_\+r}}
\index{evil\+\_\+localtime\+\_\+r@{evil\+\_\+localtime\+\_\+r}!Time.\+h functions@{Time.\+h functions}}
\subsubsection{\texorpdfstring{evil\+\_\+localtime\+\_\+r()}{evil\_localtime\_r()}}
{\footnotesize\ttfamily struct tm$\ast$ evil\+\_\+localtime\+\_\+r (\begin{DoxyParamCaption}\item[{const time\+\_\+t $\ast$}]{timep,  }\item[{struct tm $\ast$}]{result }\end{DoxyParamCaption})}



Convert the calendar time to broken-\/time representation in a user supplied data. 


\begin{DoxyParams}{Parameters}
{\em timep} & The calender time. \\
\hline
{\em result} & The broken-\/down time representation. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The broken-\/down time representation.
\end{DoxyReturn}
This function converts the calendar time {\ttfamily timep} to a broken-\/time representation. The result is stored in the buffer {\ttfamily result} supplied by the user. If {\ttfamily timep} or {\ttfamily result} are {\ttfamily N\+U\+LL}, or if an error occurred, this function returns {\ttfamily N\+U\+LL} and the values in {\ttfamily result} might be undefined. Otherwise it returns {\ttfamily result}.

Conformity\+: Non applicable.

Supported OS\+: Windows XP. \mbox{\Hypertarget{group__Evil__Time__Group_gab33323a8e5a42adb071e6a554caaeaf6}\label{group__Evil__Time__Group_gab33323a8e5a42adb071e6a554caaeaf6}} 
\index{Time.\+h functions@{Time.\+h functions}!strptime@{strptime}}
\index{strptime@{strptime}!Time.\+h functions@{Time.\+h functions}}
\subsubsection{\texorpdfstring{strptime()}{strptime()}}
{\footnotesize\ttfamily char$\ast$ strptime (\begin{DoxyParamCaption}\item[{const char $\ast$}]{buf,  }\item[{const char $\ast$}]{fmt,  }\item[{struct tm $\ast$}]{tm }\end{DoxyParamCaption})}



Convert a string representation of time to a time tm structure . 


\begin{DoxyParams}{Parameters}
{\em buf} & The string to convert. \\
\hline
{\em fmt} & The representation of time.  tm The time tm structure. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The first character not processed in this function call.
\end{DoxyReturn}
This function converts the string {\ttfamily s} to a time tm structure and fill the buffer {\ttfamily tm}. The format of the time is specified by {\ttfamily format}. on success, this function returns the first character not processed in this function call, {\ttfamily N\+U\+LL} otherwise.

Conformity\+: Non applicable.

Supported OS\+: Windows XP. 

References strptime().



Referenced by eina\+\_\+value\+\_\+util\+\_\+time\+\_\+string\+\_\+new(), and strptime().

