\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 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} struct \hyperlink{structpasswd}{passwd} $\ast$ \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 \hyperlink{dirent_8h}{dirent.\-h}. 

\subsection{Function Documentation}
\hypertarget{group__Evil__Pwd__Group_ga17d8035f83ce241a8905286e61d5a473}{\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}{\bf E\-A\-P\-I} struct {\bf passwd}$\ast$ getpwuid (
\begin{DoxyParamCaption}
\item[{uid\-\_\-t}]{uid}
\end{DoxyParamCaption}
)}}\label{group__Evil__Pwd__Group_ga17d8035f83ce241a8905286e61d5a473}


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, C\-E. 

References evil\-\_\-homedir\-\_\-get(), evil\-\_\-wchar\-\_\-to\-\_\-char(), passwd\-::pw\-\_\-change, passwd\-::pw\-\_\-class, passwd\-::pw\-\_\-dir, passwd\-::pw\-\_\-expire, passwd\-::pw\-\_\-fields, passwd\-::pw\-\_\-gecos, passwd\-::pw\-\_\-gid, passwd\-::pw\-\_\-name, passwd\-::pw\-\_\-passwd, passwd\-::pw\-\_\-shell, and passwd\-::pw\-\_\-uid.

