]> git.ipfire.org Git - thirdparty/util-linux.git/blame - include/pwdutils.h
include: add missing license lines
[thirdparty/util-linux.git] / include / pwdutils.h
CommitLineData
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
12extern struct passwd *xgetpwnam(const char *username, char **pwdbuf);
dc96ca29 13extern struct group *xgetgrnam(const char *groupname, char **grpbuf);
cd083615 14extern struct passwd *xgetpwuid(uid_t uid, char **pwdbuf);
1742c8d8 15extern char *xgetlogin(void);
4f5f35fc
KZ
16
17#endif /* UTIL_LINUX_PWDUTILS_H */
18