getnextuid(int sync_uid_gid, int *uid, int low_uid, int high_uid)
getnextuid(int sync_uid_gid, uid_t *uid, uid_t low_uid, uid_t high_uid)
getnextuid(int sync_uid_gid, int *uid, int low_uid, int high_uid){	for (*uid = low_uid ; *uid <= high_uid ; (*uid)++) {		if (getpwuid((uid_t)(*uid)) == NULL && *uid != NOBODY_UID) {			if (sync_uid_gid) {				if (getgrgid((gid_t)(*uid)) == NULL) {					return 1;				}			} else {				return 1;			}		}	}	return 0;}