omax
int *pclass, long omax)
long max = omax;
if (omax <= 0) {
if (*plength > (omax - (p - *pp))) {
int *pclass, long omax);