summaryrefslogtreecommitdiffstats
path: root/include/pwdutils.h
blob: a69dd6b454273e1f0685afd44a83b2671e35ab02 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef UTIL_LINUX_PWDUTILS_H
#define UTIL_LINUX_PWDUTILS_H

#include <sys/types.h>
#include <pwd.h>

extern struct passwd *xgetpwnam(const char *username, char **pwdbuf);
extern char *xgetlogin(void);

#endif /* UTIL_LINUX_PWDUTILS_H */