secutil.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
*
* Copyright %G% Sun Microsystems, Inc.
* All Rights Reserved
*
*
* Comments:
*
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
static char hexdig[] = "0123456789abcdef";
{
char *res;
int i =0;
return (NULL);
}
for (;;){
if (aLen < 1)
break;
i+= 2;
aLen--;
aString++;
}
return (res);
}
static int
unhex( char c )
{
return( c >= '0' && c <= '9' ? c - '0'
: c >= 'A' && c <= 'F' ? c - 'A' + 10
: c - 'a' + 10 );
}
int theLen = 0;
if (++anHexaStr != '\0'){
anHexaStr++;
}
theLen++;
}
return (theRes);
}