Article View: comp.std.c
Article #2074Yet another question about va_start.
From: Ronald F. Guilmette
Date: Fri, 06 Nov 1992 01:55
Date: Fri, 06 Nov 1992 01:55
27 lines
1049 bytes
1049 bytes
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? On standard
conforming implementations? Both? Neither?
Note that some implementations permit:
#include <stdarg.h>
va_list ap;
void foobar (int arg1, ...)
{
va_start (ap, any bloddy thing you want!$#^% );
/* ... */
}
--
// Ron ("Loose Cannon") Guilmette
// uucp: ...uunet!lupine!segfault!rfg
// New new motto: Quality control is a state of mind.
// misc.forsale.computers ad, circa 2007:
// Used Cray wrist watch for sale; 25 bucks or best offer.
Technical Details
Message-ID:
<1992Nov6.015516.2350@netcom.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!netsys!decwrl!decwrl!netcomsv!netcom.com!rfgShow Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!netsys!decwrl!decwrl!netcomsv!netcom.com!rfg From: rfg@netcom.com (Ronald F. Guilmette) Subject: Yet another question about va_start. Message-ID: <1992Nov6.015516.2350@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) Date: Fri, 6 Nov 1992 01:55:16 GMT Lines: 27