\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 \mbox{\hyperlink{pwd_8h}{pwd.\+h}}.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structpasswd}{passwd}}
\begin{DoxyCompactList}\small\item\em A structure that describes a password. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct \mbox{\hyperlink{structpasswd}{passwd}} $\ast$ \mbox{\hyperlink{group__Evil__Pwd__Group_gace7407b0674ab538baad2f4af1c10ab6}{getpwnam}} (const char $\ast$n)
\begin{DoxyCompactList}\small\item\em Return a passwd structure. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct \mbox{\hyperlink{structpasswd}{passwd}} $\ast$ \mbox{\hyperlink{group__Evil__Pwd__Group_ga17d8035f83ce241a8905286e61d5a473}{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 \mbox{\hyperlink{pwd_8h}{pwd.\+h}}. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Evil__Pwd__Group_gace7407b0674ab538baad2f4af1c10ab6}\label{group__Evil__Pwd__Group_gace7407b0674ab538baad2f4af1c10ab6}} 
\index{Pwd.\+h functions@{Pwd.\+h functions}!getpwnam@{getpwnam}}
\index{getpwnam@{getpwnam}!Pwd.\+h functions@{Pwd.\+h functions}}
\subsubsection{\texorpdfstring{getpwnam()}{getpwnam()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct \mbox{\hyperlink{structpasswd}{passwd}}$\ast$ getpwnam (\begin{DoxyParamCaption}\item[{const char $\ast$}]{n }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{structpasswd}{passwd}} with the user name {\ttfamily n}.

Conformity\+: None.

Supported OS\+: Windows XP. 

References evil\+\_\+wchar\+\_\+to\+\_\+char().



Referenced by getpwuid().

\mbox{\Hypertarget{group__Evil__Pwd__Group_ga17d8035f83ce241a8905286e61d5a473}\label{group__Evil__Pwd__Group_ga17d8035f83ce241a8905286e61d5a473}} 
\index{Pwd.\+h functions@{Pwd.\+h functions}!getpwuid@{getpwuid}}
\index{getpwuid@{getpwuid}!Pwd.\+h functions@{Pwd.\+h functions}}
\subsubsection{\texorpdfstring{getpwuid()}{getpwuid()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct \mbox{\hyperlink{structpasswd}{passwd}}$\ast$ getpwuid (\begin{DoxyParamCaption}\item[{uid\+\_\+t}]{uid }\end{DoxyParamCaption})}



Return a passwd structure. 


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

Conformity\+: None.

Supported OS\+: Windows XP. 

References getpwnam().

