Article View: comp.std.c
Article #2084Re: Yet another question about va_start.
From: Norman Diamond
Date: Fri, 06 Nov 1992 11:40
Date: Fri, 06 Nov 1992 11:40
28 lines
1503 bytes
1503 bytes
In article <1992Nov6.015516.2350@netcom.com> rfg@netcom.com (Ronald F. Guilmette) writes:
>In 4.8.1.1 it says:
> "The parameter paramN is the identifier of the rightmost
> parameter..."
>Is this a restriction of standard conforming programs?
This time I'll get it write.
s/standard conforming programs/strictly conforming programs/whew
Yes.
>On standard conforming implementations?
How could it be? The program is the one with code invoking va_start().
>Note that some implementations permit:
> #include <stdarg.h>
> va_list ap;
> void foobar (int arg1, ...) {
> va_start (ap, any bloddy thing you want!$#^% );
> }
Some implementations permit dereferencing null pointers too.
There's no Constraints paragraph in section 4.8.1.1.
--
Norman Diamond diamond@jit081.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.
"It's been a lovely recession."
Technical Details
Message-ID:
<BxALs3.JMG@jrd.dec.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!decuac!pa.dec.com!jrdzzz.jrd.dec.com!jit345.bad.jit.dec.com!diamondReferences:
<1992Nov6.015516.2350@netcom.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!decuac!pa.dec.com!jrdzzz.jrd.dec.com!jit345.bad.jit.dec.com!diamond From: diamond@jit345.bad.jit.dec.com (Norman Diamond) Subject: Re: Yet another question about va_start. Message-ID: <BxALs3.JMG@jrd.dec.com> Sender: usenet@jrd.dec.com (USENET News System) Nntp-Posting-Host: jit345 Reply-To: diamond@jit.dec.com (Norman Diamond) Organization: Digital Equipment Corporation Japan , Tokyo References: <1992Nov6.015516.2350@netcom.com> Date: Fri, 6 Nov 1992 11:40:51 GMT Lines: 28