int i, lastch;
u_int lastch; int i;
__db_pr(p, len)	u_int8_t *p;	u_int32_t len;{	FILE *fp;	int i, lastch;	fp = __db_prinit(NULL);	fprintf(fp, "len: %3lu", (u_long)len);	lastch = '.';	if (len != 0) {		fprintf(fp, " data: ");		for (i = len <= 20 ? len : 20; i > 0; --i, ++p) {			lastch = *p;			if (isprint(*p) || *p == '\n')				fprintf(fp, "%c", *p);			else				fprintf(fp, "%#x", (u_int)*p);		}		if (len > 20) {			fprintf(fp, "...");			lastch = '.';		}	}	if (lastch != '\n')		fprintf(fp, "\n");}