Re: portable way to get highest bit set?

Anton Shepelev <anton.txt@g{oogle}mail.com> Wed, 11 Oct 2023 15:17:34 +0300
Newsgroups comp.lang.c,alt.comp.lang.c
Organization A noiseless patient Spider
Message-ID <20231011151734.ba0c52c02ebe2e2ccd99b67d@g{oogle}mail.com>
David Brown:

> But he/she also needs to say if 8-bit values are all that
> are of interest, when considering portability.

Yes, endianness, and then a hackish way to hanle it is to
use socket functions.  Hackish, because conceptualy that
means the reliance of a general low-level function on a
more specific and higher-level function/library.

-- 
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments