summaryrefslogtreecommitdiffstats
path: root/include/pwdutils.h
diff options
context:
space:
mode:
authorKarel Zak2016-10-14 15:02:01 +0200
committerKarel Zak2017-09-18 11:48:56 +0200
commit1742c8d84c8cdba817eb62fb7c9f4eb3c1923eb6 (patch)
treed9f1698a539f4726942cc8cd3a770d7dfaceea2e /include/pwdutils.h
parentsu: cleanup pwd struct usage (diff)
downloadkernel-qcow2-util-linux-1742c8d84c8cdba817eb62fb7c9f4eb3c1923eb6.tar.gz
kernel-qcow2-util-linux-1742c8d84c8cdba817eb62fb7c9f4eb3c1923eb6.tar.xz
kernel-qcow2-util-linux-1742c8d84c8cdba817eb62fb7c9f4eb3c1923eb6.zip
lib/pwdutils: add xgetlogin()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/pwdutils.h')
-rw-r--r--include/pwdutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pwdutils.h b/include/pwdutils.h
index c2967d315..a69dd6b45 100644
--- a/include/pwdutils.h
+++ b/include/pwdutils.h
@@ -5,6 +5,7 @@
#include <pwd.h>
extern struct passwd *xgetpwnam(const char *username, char **pwdbuf);
+extern char *xgetlogin(void);
#endif /* UTIL_LINUX_PWDUTILS_H */