aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-11-28 21:06:15 -0600
committerRob Landley <rob@landley.net>2013-11-28 21:06:15 -0600
commit5ec4ab3113dcc813b6040d7ded38e297df99dc0e (patch)
treeafad4e181b9b8ab64496ed7d001c444c245ae429 /lib/lib.h
parent9e44a5841f0ab9bc03cefb5631c80f3e4e5a60fe (diff)
downloadtoybox-5ec4ab3113dcc813b6040d7ded38e297df99dc0e.tar.gz
Add xgetpwnam() to lib/xwrap.c.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index e5d4a1d3..2d3e2734 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -113,6 +113,7 @@ void xmkpath(char *path, int mode);
void xsetuid(uid_t uid);
struct passwd *xgetpwuid(uid_t uid);
struct group *xgetgrgid(gid_t gid);
+struct passwd *xgetpwnam(char *name);
char *xreadlink(char *name);
long xparsetime(char *arg, long units, long *fraction);
void xpidfile(char *name);