Adding upstream version 2.41.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
9586bb3c92
commit
c36e531662
3661 changed files with 2164106 additions and 0 deletions
18
include/pwdutils.h
Normal file
18
include/pwdutils.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* No copyright is claimed. This code is in the public domain; do with
|
||||
* it what you wish.
|
||||
*/
|
||||
#ifndef UTIL_LINUX_PWDUTILS_H
|
||||
#define UTIL_LINUX_PWDUTILS_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
|
||||
extern struct passwd *xgetpwnam(const char *username, char **pwdbuf);
|
||||
extern struct group *xgetgrnam(const char *groupname, char **grpbuf);
|
||||
extern struct passwd *xgetpwuid(uid_t uid, char **pwdbuf);
|
||||
extern char *xgetlogin(void);
|
||||
|
||||
#endif /* UTIL_LINUX_PWDUTILS_H */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue