Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <pwd.h>
- struct passwd *getpwuid(uid_t uid);
- struct passwd *getpwnam(const char *name);
- /* Both return: pointer if OK, NULL on error */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement