[aclug-L] Re: gnu substitute for stdarg.h?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Lars von dem Ast wrote:
>
> I'm reading a C++ book that uses stdarg.h to implement variable
> arguments in functions. The book was probably meant for Windows-land,
> because I can't find stdarg.h in gnu-land /usr/include/... Does anybody
> know if gnu C/C++ has such a beast?
Of course, <stdarg.h> is part of ANSI C. Problem with grepping /usr/include/*
is that the GNU header files are somewhere else. On my machine:
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h
Your mileage may vary. I got this by writing a one-line file:
#include <stdarg.h>
then running cc -E on it.
slocate may also work.
> L
>
> -- This is the discussion@xxxxxxxxx list. To unsubscribe,
> visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
--
/*
* Tom Hull * thull at kscable.com * http://www.ocston.org/~thull/
*/
-- This is the discussion@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
|
|