\hypertarget{group__Evil__Stdio__Group}{}\doxysection{Stdio.\+h functions}
\label{group__Evil__Stdio__Group}\index{Stdio.h functions@{Stdio.h functions}}


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


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EVIL\+\_\+\+API int \mbox{\hyperlink{group__Evil__Stdio__Group_ga537fb6c29a82e557f2309d95d2b6c485}{evil\+\_\+rename}} (const char $\ast$src, const char $\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 $\ast$dirname, mode\+\_\+t mode)
\begin{DoxyCompactList}\small\item\em Wrap the \+\_\+mkdir() function on Windows. \end{DoxyCompactList}\end{DoxyCompactItemize}


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



\doxysubsection{Function Documentation}
\mbox{\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}}
\doxysubsubsection{\texorpdfstring{evil\_rename()}{evil\_rename()}}
{\footnotesize\ttfamily EVIL\+\_\+\+API int evil\+\_\+rename (\begin{DoxyParamCaption}\item[{const char $\ast$}]{src,  }\item[{const char $\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}
\mbox{\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}}
\doxysubsubsection{\texorpdfstring{evil\_mkdir()}{evil\_mkdir()}}
{\footnotesize\ttfamily EVIL\+\_\+\+API int evil\+\_\+mkdir (\begin{DoxyParamCaption}\item[{const char $\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}
