comp.std.c

andre andre at targon.UUCP
Fri Sep 1 21:16:03 AEST 1989


In article <10884 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
-In article <426 at maytag.waterloo.edu> lhf at aries5 (Luiz H. deFigueiredo) writes:
->Now I ask, it is possible/legal to do the analogous thing for a-1 as in
->      char *head=a-1;         /* Here! */
-
-The Standard does not guarantee that this will work, although it might work
-uner some circumstances under some implementations.
-
-The asymmetry between last+1 (guaranteed) and first-1 (not guaranteed) is

Does this mean that on OS/2 on an '386 with a buffer gotten from
the system, the compiler sees to it that the char *head does never!
ends up in an address register? Or else the '386 will give an exeption
(also if you never dereference the register, or segment - offset that
make up the 'address register').

-- 
    \---|    AAA         DDDD  It's not the kill, but the thrill of the chase.
     \  |   AA AAvv   vvDD  DD        Ketchup is a vegetable.
  /\  \ |  AAAAAAAvv vvDD  DD                    {nixbur|nixtor}!adalen.via
_/__\__\| AAA   AAAvvvDDDDDD    Andre van Dalen, uunet!hp4nl!targon!andre



More information about the Comp.lang.c mailing list