April 26, 2021
12:16 a.m.
Garrett Wollman via tz said:
POSIX since 2001 requires eight-bit bytes,
Yes, that was my fault. (I've just been reading through my records of what I send to the austin-group list; it's fascinating in retrospect.) I pointed out that various network functions (starting with htonl() and friends and then going on to how send() and recv() worked on a socket) needed a better definition to cope with systems where CHAR_BIT > 8. Instead of adopting my suggestions (which were, I accept, complicated) it was decided to require that CHAR_BIT was always 8. -- Clive D.W. Feather | If you lie to the compiler, Email: clive@davros.org | it will get its revenge. Web: http://www.davros.org | - Henry Spencer Mobile: +44 7973 377646