* libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am,

lib/prototypes.h: Added get_uid() and get_gid() to parse user and
	group IDs.
This commit is contained in:
nekral-guest
2009-03-08 20:26:56 +00:00
parent 186ea0e203
commit 0e2a3979f4
6 changed files with 127 additions and 8 deletions

View File

@ -48,9 +48,9 @@
* If the range is valid, getrange returns 1.
* If the range is not valid, getrange returns 0.
*/
int getrange(char *range,
unsigned long *min, bool *has_min,
unsigned long *max, bool *has_max)
int getrange (char *range,
unsigned long *min, bool *has_min,
unsigned long *max, bool *has_max)
{
char *endptr;
unsigned long n;