Article View: net.micro.mac
Article #724Re: Orphaned Response
From: darryl
Date: Sat, 02 Mar 1985 05:53
Date: Sat, 02 Mar 1985 05:53
22 lines
1614 bytes
1614 bytes
This is an excellent point. I neglected to notice whether the other
compilers used 16 or 32-bit integers. Someone told me that the C
standard stipulates that an integer's worth of bits must be able
to span the entire address space. I don't know about this. Can
someone comment?
The current documentation from AT&T, as well as good ole K&R, says that
the difference of two pointers is an int. The new ANSI draft changes this
restriction so that it fits into some integral type, which is implementation
defined. This is the only restriction I know of in regay|s to pointer-
integer restrictions.
This sounds like it would require 32 bit ints, but I'm not so sure. The
various C standards all say that you are only allowed to subtract pointers
that point into a common array. Isn't it the case that a contiguous
array on the Mac is limiteb to 32K? If this is so, then 16 bit ints
work fine on the Mac.
--Darryl Richman, INTERACTIVE Systems Inc.
...!cca!ima!ism780!darryl
The views expressed above are my opinions only.
Technical Details
Message-ID:
<131@ISM780.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!mit-eddie!godot!ima!ISM780!darrylShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!mit-eddie!godot!ima!ISM780!darryl From: darryl@ISM780.UUCP Newsgroups: net.micro.mac Subject: Re: Orphaned Response Message-ID: <131@ISM780.UUCP> Date: Sat, 2-Mar-85 00:53:31 EST Article-I.D.: ISM780.131 Posted: Sat Mar 2 00:53:31 1985 Date-Received: Mon, 4-Mar-85 07:50:37 EST Lines: 22 Nf-ID: #R:ucbvax:-512400:ISM780:25400001:177600:1063 Nf-From: ISM780!darryl Feb 28 18:07:00 1985