On 7/11/05, raja <[EMAIL PROTECTED]> wrote:
> hi,
> How can i get the list of the arguments in a function.Is there any
> possible way to get the list?
No, there is not. At least there is no easy way. What you are
looking for is the functionality provided by the nm and objdump
utilities (see binutils). They examine certain sections of
executables and object files to obtain information about symbols and
the like. Unfortunately, there is no API to make use of it. Modern
"higher level" languages like Java and C# (and .NET in general)
provide mechanisms collectively known as reflection that allow users
to query type information, call methods and constructors dynamically,
etc. at run-time. The C programming language does not know such
thing.
Kind Regards
\Steve
--
Steve Graegert <[EMAIL PROTECTED]> || <http://www.technologies.de/~sg/>
Independent Software Consultant {C/C++ && Java && .NET}
Mobile: +49 (176) 21 24 88 69
Office: +49 (9131) 71 26 40 9
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming"
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html