home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.std.c
- Path: 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
-
- 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.
-