bits_to_bytes (char *bits, unsigned char *bytes)
bits_to_bytes (bits, bytes) char	    *bits; unsigned char   *bytes;
bits_to_bytes (char *bits, unsigned char *bytes){    int	    bit, byte, value;    for (byte = 0; byte < 8; byte++)    {	value = 0;	for (bit = 0; bit < 8; bit++)	    value |= *bits++ << (7-bit);	*bytes++ = value;    }}