/* Is this a VMS UCX file handle? Check for: (1) leading code byte  (2) followed by string of printing chars & spaces (3) followed by string of nulls  */
static int is_UCX(const unsigned char *, u_int)
/* Is this a VMS UCX file handle? Check for: (1) leading code byte  (2) followed by string of printing chars & spaces (3) followed by string of nulls  */
static int is_UCX(const unsigned char *, u_int)
{
	register u_int i;
	int seen_null = 0;
	if (len < 28/4)
		return(0);
	for (i = 1; i < 14; i++) {
	    if (ND_ISPRINT(fhp[i])) {
		if (seen_null)
		   return(0);
		else
		   continue;
	    }
	    else if (fhp[i] == 0) {
		seen_null = 1;
		continue;
	    }
	    else
		return(0);
	}
	return(1);
}