\doxysubsection{Stdio.\+h functions}
\hypertarget{group__Evil__Stdio__Group}{}\label{group__Evil__Stdio__Group}\index{Stdio.h functions@{Stdio.h functions}}
\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EVIL\+\_\+\+API int \mbox{\hyperlink{group__Evil__Stdio__Group_ga537fb6c29a82e557f2309d95d2b6c485}{evil\+\_\+rename}} (const char \texorpdfstring{$\ast$}{*}src, const char \texorpdfstring{$\ast$}{*}dst)
\begin{DoxyCompactList}\small\item\em Emulate the rename() function on Windows. \end{DoxyCompactList}\item 
EVIL\+\_\+\+API int \mbox{\hyperlink{group__Evil__Stdio__Group_gae83d13c918eb35fb5bfa2d187e742e72}{evil\+\_\+mkdir}} (const char \texorpdfstring{$\ast$}{*}dirname, mode\+\_\+t mode)
\begin{DoxyCompactList}\small\item\em Wrap the \+\_\+mkdir() function on Windows. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}


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

\doxysubsubsection{Function Documentation}
\Hypertarget{group__Evil__Stdio__Group_ga537fb6c29a82e557f2309d95d2b6c485}\label{group__Evil__Stdio__Group_ga537fb6c29a82e557f2309d95d2b6c485} 
\index{Stdio.h functions@{Stdio.h functions}!evil\_rename@{evil\_rename}}
\index{evil\_rename@{evil\_rename}!Stdio.h functions@{Stdio.h functions}}
\doxysubsubsubsection{\texorpdfstring{evil\_rename()}{evil\_rename()}}
{\footnotesize\ttfamily EVIL\+\_\+\+API int evil\+\_\+rename (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{src,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{dst }\end{DoxyParamCaption})}



Emulate the rename() function on Windows. 


\begin{DoxyParams}{Parameters}
{\em src} & The old pathname. \\
\hline
{\em dst} & The new pathname. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
0 on success, -\/1 otherwise.
\end{DoxyReturn}
This function emulates the POSIX rename() function on Windows. The difference with the POSIX function is that the rename() function on windows fails if the destination exists.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\Hypertarget{group__Evil__Stdio__Group_gae83d13c918eb35fb5bfa2d187e742e72}\label{group__Evil__Stdio__Group_gae83d13c918eb35fb5bfa2d187e742e72} 
\index{Stdio.h functions@{Stdio.h functions}!evil\_mkdir@{evil\_mkdir}}
\index{evil\_mkdir@{evil\_mkdir}!Stdio.h functions@{Stdio.h functions}}
\doxysubsubsubsection{\texorpdfstring{evil\_mkdir()}{evil\_mkdir()}}
{\footnotesize\ttfamily EVIL\+\_\+\+API int evil\+\_\+mkdir (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{dirname,  }\item[{mode\+\_\+t}]{mode }\end{DoxyParamCaption})}



Wrap the \+\_\+mkdir() function on Windows. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em dirname} & The new dir name. \\
\hline
\mbox{\texttt{ in}}  & {\em mode} & Unused. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
0 on success, -\/1 otherwise.
\end{DoxyReturn}
This function wraps the \+\_\+mkdir() function.

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