Article View: comp.std.c
Article #25Re: stdarg facility, va_start more than once?
From: Larry Jones
Date: Wed, 28 Oct 1992 14:27
Date: Wed, 28 Oct 1992 14:27
15 lines
1049 bytes
1049 bytes
In article <MGK.92Oct27155222@cedar.sql.sybase.com>, mgk@sql.sybase.com (Michael Keirnan aka Joe Cool) writes: > Is using the macro va_start more than once in a function legal in > ANSI C? Yes, there's no prohibition against invocing va_start more than once. What's more, there are a number of allusions to the fact that it is intended to be usable that way; for example, 4.8.1.3 The va_end Macro says: The va_end macro may modify ap so that it is no longer usable (without an intervening invocation of va_start). ---- Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH 45150-2789 513-576-2070 larry.jones@sdrc.com or ...uunet!sdrc!larry.jones I don't want to be THIS good! -- Calvin
Technical Details
Message-ID:
<2176@sdrc.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!sdrc!thor!scjonesReferences:
<MGK.92Oct27155222@cedar.sql.sybase.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sdrc!thor!scjones From: scjones@thor.sdrc.com (Larry Jones) Newsgroups: comp.std.c Subject: Re: stdarg facility, va_start more than once? Summary: yes Message-ID: <2176@sdrc.COM> Date: 28 Oct 92 14:27:49 GMT References: <MGK.92Oct27155222@cedar.sql.sybase.com> Sender: news@sdrc.COM Distribution: comp Lines: 15