🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4205

Re: Is this a good Idea??

#4205
From: James Kanze US/ESC 60/3/141 #407...
Date: Mon, 09 Oct 1995 10:30
27 lines
1704 bytes
In article <1139933150.15676234@ortel.org> Paul_Long@ortel.org (Paul
Long) writes:

|> This is a common misunderstanding. A byte, in Standard C, is not an 8-bit
|> unit of
|> storage:

In this, the standard is only following normal technical usage.  A
byte has never been defined as 8 bits, but rather the smallest
addressable size, when that size is less than an word.  In fact, the
very first use of byte was not for an 8 bit entity.

(This information comes out of a previous discussion of the meaning of
byte, which I didn't save, which is why I don't know how many bits
were in the original byte, nor what machine it was.  The jargon file
will, however, collaborate my pretention that a byte is not always 8
bits.)

The correct word for a (must-be exactly) 8 bit unit is an octet.  This
is the word normally used in data comm's, precisely for this reason.
(If the protocol specifies octets, you had better send 8 bits, even if
you hardware bytes are 9 bits.)
-- 
James Kanze         Tel.: (+33) 88 14 49 00        email: kanze@gabi-soft.fr
GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
Conseils en informatique industrielle --
                              -- Beratung in industrieller Datenverarbeitung
Technical Details
Message-ID: <KANZE.95Oct9113030@slsvgqt.lts.sel.alcatel.de>
Path: arc1-ca.pugleaf.net!cett.alcatel-alsthom.fr!slsv6bt!news
References: <1139933150.15676234@ortel.org>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!cett.alcatel-alsthom.fr!slsv6bt!news
From: kanze@lts.sel.alcatel.de (James Kanze US/ESC 60/3/141 #40763)
Subject: Re: Is this a good Idea??
In-Reply-To: Paul_Long@ortel.org's message of 08 Oct 1995 21:12:58 GMT
Message-ID: <KANZE.95Oct9113030@slsvgqt.lts.sel.alcatel.de>
Sender: news@lts.sel.alcatel.de
Organization: SEL
References: <1139933150.15676234@ortel.org>
Date: 09 Oct 1995 10:30:29 GMT