/* int2strb.c - integer to string of bits */
static char *rcsid
= "$Header: /f/osi/psap/RCS/int2strb.c,v 7.1 91/02/22 09:35:41 mrose Interim $";
* $Header: /f/osi/psap/RCS/int2strb.c,v 7.1 91/02/22 09:35:41 mrose Interim $
* Revision 7.1 91/02/22 09:35:41 mrose
* Revision 7.0 89/11/23 22:12:39 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
static char buffer
[sizeof (int) + 1];
bzero (buffer
, sizeof (buffer
));
for (i
= 0; i
< len
; i
++)
buffer
[i
/ 8] |= (1 << (7 - (i
% 8)));