linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Graegert <graegerts@gmail.com>
To: raja <vnagaraju@effigent.net>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: hi
Date: Mon, 11 Jul 2005 10:20:51 +0200	[thread overview]
Message-ID: <6a00c8d5050711012043748fd7@mail.gmail.com> (raw)
In-Reply-To: <42D20FC4.8090401@effigent.net>

On 7/11/05, raja <vnagaraju@effigent.net> 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 <graegerts@gmail.com> || <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

  reply	other threads:[~2005-07-11  8:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-11  6:20 hi raja
2005-07-11  8:20 ` Steve Graegert [this message]
     [not found] <42D23006.6060506@effigent.net>
2005-07-11  9:24 ` hi Rechberger Markus
  -- strict thread matches above, loose matches on Subject: below --
2005-01-26 12:59 Hi list
2005-01-26 16:38 ` Hi Ricardo Catalinas Jimenez
2005-01-26 17:24   ` Hi fabio
2005-01-26 17:57     ` Hi list

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a00c8d5050711012043748fd7@mail.gmail.com \
    --to=graegerts@gmail.com \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=vnagaraju@effigent.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).