\hypertarget{group__Evil__Pwd__Group}{}\section{Pwd.\+h functions}
\label{group__Evil__Pwd__Group}\index{Pwd.\+h functions@{Pwd.\+h functions}}


This header provides functions ported from Unix in \hyperlink{dirent_8h}{dirent.\+h}.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structpasswd}{passwd}
\begin{DoxyCompactList}\small\item\em A structure that describes a password. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structpasswd}{passwd} $\ast$ \hyperlink{group__Evil__Pwd__Group_ga9075f8eb8b6bca18814e4aaa5570bb53}{getpwnam} (const char $\ast$n)
\begin{DoxyCompactList}\small\item\em Return a passwd structure. \end{DoxyCompactList}\item 
struct \hyperlink{structpasswd}{passwd} $\ast$ \hyperlink{group__Evil__Pwd__Group_gab778defdd0203751977756936c1d3105}{getpwuid} (uid\+\_\+t uid)
\begin{DoxyCompactList}\small\item\em Return a passwd structure. \end{DoxyCompactList}\end{DoxyCompactItemize}


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



\subsection{Function Documentation}
\hypertarget{group__Evil__Pwd__Group_ga9075f8eb8b6bca18814e4aaa5570bb53}{}\index{Pwd.\+h functions@{Pwd.\+h functions}!getpwnam@{getpwnam}}
\index{getpwnam@{getpwnam}!Pwd.\+h functions@{Pwd.\+h functions}}
\subsubsection[{getpwnam}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf passwd}$\ast$ getpwnam (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{n}
\end{DoxyParamCaption}
)}\label{group__Evil__Pwd__Group_ga9075f8eb8b6bca18814e4aaa5570bb53}


Return a passwd structure. 


\begin{DoxyParams}{Parameters}
{\em n} & The name of the user. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stacally allocated passwd structure.
\end{DoxyReturn}
This function fills a static buffer \hyperlink{structpasswd}{passwd} with the user name {\ttfamily n}.

Conformity\+: None.

Supported O\+S\+: Windows X\+P. 

References evil\+\_\+homedir\+\_\+get(), evil\+\_\+wchar\+\_\+to\+\_\+char(), passwd\+::pw\+\_\+dir, passwd\+::pw\+\_\+gecos, passwd\+::pw\+\_\+name, and passwd\+::pw\+\_\+shell.



Referenced by getpwuid().

\hypertarget{group__Evil__Pwd__Group_gab778defdd0203751977756936c1d3105}{}\index{Pwd.\+h functions@{Pwd.\+h functions}!getpwuid@{getpwuid}}
\index{getpwuid@{getpwuid}!Pwd.\+h functions@{Pwd.\+h functions}}
\subsubsection[{getpwuid}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf passwd}$\ast$ getpwuid (
\begin{DoxyParamCaption}
\item[{uid\+\_\+t}]{uid}
\end{DoxyParamCaption}
)}\label{group__Evil__Pwd__Group_gab778defdd0203751977756936c1d3105}


Return a passwd structure. 


\begin{DoxyParams}{Parameters}
{\em uid} & The User I\+D. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stacally allocated passwd structure.
\end{DoxyReturn}
This function fills a static buffer \hyperlink{structpasswd}{passwd} with {\ttfamily uid} and the user name.

Conformity\+: None.

Supported O\+S\+: Windows X\+P. 

References getpwnam().

