From f15dfc557048ca28c8b71ecbcfb9b8f229f2e2e0 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Wed, 15 Sep 2004 03:04:08 +0000 Subject: Tito writes, "This patch fixes all the bugs in id previously spotted by vodz and me. The binary size increased a bit, but now it should work as expected." --- include/libbb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libbb.h') diff --git a/include/libbb.h b/include/libbb.h index 51afd1e9d..93ab5375c 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -230,6 +230,7 @@ extern unsigned long bb_xparse_number(const char *numstr, * increases target size and is often not needed embedded systems. */ extern long my_getpwnam(const char *name); extern long my_getgrnam(const char *name); +extern char * my_getug(char *buffer, char *idname, long id, int bufsize, char prefix); extern char * my_getpwuid(char *name, long uid, int bufsize); extern char * my_getgrgid(char *group, long gid, int bufsize); extern char *bb_askpass(int timeout, const char * prompt); -- cgit v1.2.3