stdarg question

Lincoln, W. Terry terryl@ultimatetechnology.com
Wed Jun 30 22:10:00 GMT 1999


Sir,

Might not this type of question be more appropriately targeted toward a
programming list?
Just my thoughts.

> -----Original Message-----
> From: dyoung [ mailto:dyoung@vviuh221.vvi.com ]
> Sent: Thursday, June 03, 1999 1:49 PM
> To: cygwin
> Subject: stdarg question
> 
> 
> ----------------------------------------------------
> 
> I have a function using the stdarg facility such as:
> 
> myfunc(arg1, arg2, ...)
> 
> and in its body I want to pass the stdarg (vararg) part of 
> the stack such as:
> 
> myfunc(arg1, arg2, ...)
> {
> 
> /* do stuff */
> 
> anotherfunction(argA, ...);
> 
> /* do more stuff */
> 
> return;
> }
> 
> But because there is no parameter name for the vararg 
> argument part (i.e.:  
> ...) I don't see how to pass that to anotherfunction()
> 
> Can passing the vararg part be done? How?
> 
> Thanks A Bunch! David Young; VVI-DCS
> dyoung@vvi.com
> 

Regards,

W. Terry Lincoln - Senior Engineer            \     \   _   /
Ultimate Technology Corporation                \     \ |J| /
a Tridex Company (NASDAQ:trdx)                  \     _|E|_
ICQ# 39362285                                    \   |_ S _|
Email:  < mailto:WTerryLincoln@engineer.com >       \    |U|
1: < http://www.AngelFire.com/ny/TerryLincoln >      \ / |S| \
2: < http://www.geocities.com/Eureka/Concourse/7326 > \  | |
========================================================= ~~~~~
Opinions expressed do not represent the management of UTC.



More information about the Cygwin mailing list