| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <pwd.h> struct passwd *getpwuid(uid_t uid); |
This function gets the password file entry matching uid. See
getpwent, for the description of struct passwd.
The matching record, or NULL if none match.
| ANSI/ISO C | No |
| POSIX | 1003.2-1992; 1003.1-2001 |