/* converts a bit string - output of bitstr2strb() - to an integer */
static char *rcsid
= "$Header: /f/osi/psap/RCS/strb2int.c,v 7.1 91/02/22 09:37:12 mrose Interim $";
* $Header: /f/osi/psap/RCS/strb2int.c,v 7.1 91/02/22 09:37:12 mrose Interim $
* Revision 7.1 91/02/22 09:37:12 mrose
* Revision 7.0 89/11/23 22:13:51 mrose
* Acquisition, use, and distribution of this module and related
* materials are subject to the restrictions of a license agreement.
* Consult the Preface in the User's Manual for the full terms of
for (bit
= (*cp
& 0xff), i
= 0, mask
= 1 << (j
= 7); i
< len
; i
++) {
bit
= *++cp
& 0xff, mask
= 1 << (j
= 7);