]>
Commit | Line | Data |
---|---|---|
faeb1b64 KZ |
1 | /* |
2 | * No copyright is claimed. This code is in the public domain; do with | |
3 | * it what you wish. | |
4 | */ | |
4f5f35fc KZ |
5 | #ifndef UTIL_LINUX_PWDUTILS_H |
6 | #define UTIL_LINUX_PWDUTILS_H | |
7 | ||
8 | #include <sys/types.h> | |
9 | #include <pwd.h> | |
dc96ca29 | 10 | #include <grp.h> |
4f5f35fc KZ |
11 | |
12 | extern struct passwd *xgetpwnam(const char *username, char **pwdbuf); | |
dc96ca29 | 13 | extern struct group *xgetgrnam(const char *groupname, char **grpbuf); |
cd083615 | 14 | extern struct passwd *xgetpwuid(uid_t uid, char **pwdbuf); |
1742c8d8 | 15 | extern char *xgetlogin(void); |
4f5f35fc KZ |
16 | |
17 | #endif /* UTIL_LINUX_PWDUTILS_H */ | |
18 |