Mercurial > hg > toybox
diff lib/lib.h @ 1130:6df194c6de88 draft
Add xgetpwnam() to lib/xwrap.c.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 28 Nov 2013 21:06:15 -0600 |
parents | c644f85444d0 |
children | f9678ea553c8 |
line wrap: on
line diff
--- a/lib/lib.h Thu Nov 28 20:18:04 2013 -0600 +++ b/lib/lib.h Thu Nov 28 21:06:15 2013 -0600 @@ -113,6 +113,7 @@ 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);