Re: variadic function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pierre Laplante <laplante@xxxxxxxxxxx> writes:

> If I want to implement a function
> 
> f1(char *fmt, ...) {
>   f2(fmt, ...);
> }
> 
> where f2 is defined as
> 
> f2(char *fmt, ...) {
> }
> 
> that want to call f2 which is itself a variadic function. How can
> I implement this using stdarg?

See the C FAQ (www.eskimo.com/~scs/C-faq/top.html)

-- 
	Falk


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux