This header provides functions ported from Unix in dirent.h. More...
Data Structures | |
| struct | passwd |
| A structure that describes a password. More... | |
Functions | |
| struct passwd * | getpwnam (const char *n) |
| Return a passwd structure. More... | |
| struct passwd * | getpwuid (uid_t uid) |
| Return a passwd structure. More... | |
This header provides functions ported from Unix in dirent.h.
| struct passwd* getpwnam | ( | const char * | n | ) |
Return a passwd structure.
| n | The name of the user. |
This function fills a static buffer passwd with the user name n.
Conformity: None.
Supported OS: Windows XP.
References evil_wchar_to_char(), passwd::pw_dir, passwd::pw_gecos, passwd::pw_name, and passwd::pw_shell.
Referenced by getpwuid().
| struct passwd* getpwuid | ( | uid_t | uid | ) |
Return a passwd structure.
| uid | The User ID. |
This function fills a static buffer passwd with uid and the user name.
Conformity: None.
Supported OS: Windows XP.
References getpwnam().