Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Strings in C (Re: ambiguous ?) Message-ID: <6703@ficc.uu.net> Date: 27 Oct 89 17:34:41 GMT References: <11398@smoke.BRL.MIL> <14115@lanl.gov> <2522@munnari.oz.au> <6676@ficc.uu.net> <2421@convex.UUCP> Reply-To: peter@ficc.uu.net (Peter da Silva) Organization: Xenix Support, FICC Lines: 19 [ !"%p...."! is used to indicate byte-counted strings. P stands for "pascal". I asked: "Was X3J11 aware of this? Or are the Mac compiler vendors going to change?" ] In article <2421@convex.UUCP> grogers@convex.COM (Geoffrey Rogers) writes: > Why should Mac compiler vendors have to change this feature. It is an > extension of the language, which they deem important for there market > place. Well, yes, but for one thing. ANSI seems to have defined !%p! as pointer format. (so, what does !printf("%04p", ptr);! display on an 8086?) (or was I asleep when I read that?) -- `-_-' Peter da Silva . 'U` -------------- +1 713 274 5180. "That particular mistake will not be repeated. There are plenty of mistakes left that have not yet been used." -- Andy Tanenbaum (ast@cs.vu.nl)