summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath2004-09-15 03:04:08 +0000
committerGlenn L McGrath2004-09-15 03:04:08 +0000
commitf15dfc557048ca28c8b71ecbcfb9b8f229f2e2e0 (patch)
treef34d5e6241ef8f0a1a95502128789b2edd2c1a71 /include
parent995d96a99d5f2d546d5e15b2614ae7408da27631 (diff)
downloadbusybox-f15dfc557048ca28c8b71ecbcfb9b8f229f2e2e0.zip
busybox-f15dfc557048ca28c8b71ecbcfb9b8f229f2e2e0.tar.gz
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."
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 51afd1e..93ab537 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);