New function to find an user by its UID on the local database.

This commit is contained in:
nekral-guest
2008-02-03 16:50:14 +00:00
parent 57f713e426
commit 7344e055be
3 changed files with 19 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#include <pwd.h>
extern int pw_close (void);
extern const struct passwd *pw_locate (const char *);
extern const struct passwd *pw_locate_uid (uid_t uid);
extern int pw_lock (void);
extern int pw_name (const char *);
extern const struct passwd *pw_next (void);