* Re: hi [not found] <42D23006.6060506@effigent.net> @ 2005-07-11 9:24 ` Rechberger Markus 0 siblings, 0 replies; 7+ messages in thread From: Rechberger Markus @ 2005-07-11 9:24 UTC (permalink / raw) To: raja, linux-c-programming hi Raja, Check out the C-faq http://www.faqs.org/faqs/C-faq/faq/ section 15.4 How can I write a function that takes a variable number of arguments? Markus On 7/11/05, raja <vnagaraju@effigent.net> wrote: > Hi, > How can i find the number of arguments that the given fiunction > contains. > for ex : If I have given a function that is > func(arg1,arg2); > how can i find the number of arguments as 2? > > thanking you, > Raja.V > - > To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > ^ permalink raw reply [flat|nested] 7+ messages in thread
* hi
@ 2005-07-11 6:20 raja
2005-07-11 8:20 ` hi Steve Graegert
0 siblings, 1 reply; 7+ messages in thread
From: raja @ 2005-07-11 6:20 UTC (permalink / raw)
To: linux-c-programming
hi,
How can i get the list of the arguments in a function.Is there any
possible way to get the list?
thanking you,
raja.V
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: hi 2005-07-11 6:20 hi raja @ 2005-07-11 8:20 ` Steve Graegert 0 siblings, 0 replies; 7+ messages in thread From: Steve Graegert @ 2005-07-11 8:20 UTC (permalink / raw) To: raja; +Cc: linux-c-programming 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Hi @ 2005-01-26 12:59 list 2005-01-26 16:38 ` Hi Ricardo Catalinas Jimenez 0 siblings, 1 reply; 7+ messages in thread From: list @ 2005-01-26 12:59 UTC (permalink / raw) To: linux-c-programming Hi I´m new to this list, hope I´ll enjoy :D Fraginsk - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Hi 2005-01-26 12:59 Hi list @ 2005-01-26 16:38 ` Ricardo Catalinas Jimenez 2005-01-26 17:24 ` Hi fabio 0 siblings, 1 reply; 7+ messages in thread From: Ricardo Catalinas Jimenez @ 2005-01-26 16:38 UTC (permalink / raw) To: linux-c-programming [-- Attachment #1: Type: text/plain, Size: 349 bytes --] 0n Wed, Jan 26, 2005 at 07:59:34AM -0500, list@intensivesystems.com wrote: > Hi > > I´m new to this list, hope I´ll enjoy :D > > Fraginsk You're welcome :-) -- Ricardo Catalinas Jimenez Madrid, Spain. th1nk3r(at)server01(dot)org http://www.server01.org GnuPG Key fingerprint = 662C EBF7 9220 0F14 C644 F90B DC3E A163 7F8D CDAE [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Hi 2005-01-26 16:38 ` Hi Ricardo Catalinas Jimenez @ 2005-01-26 17:24 ` fabio 2005-01-26 17:57 ` Hi list 0 siblings, 1 reply; 7+ messages in thread From: fabio @ 2005-01-26 17:24 UTC (permalink / raw) To: Ricardo Catalinas Jimenez; +Cc: linux-c-programming Ricardo Catalinas Jimenez wrote: >0n Wed, Jan 26, 2005 at 07:59:34AM -0500, list@intensivesystems.com wrote: > > >>Hi >> >>I´m new to this list, hope I´ll enjoy :D >> >>Fraginsk >> >> > >You're welcome :-) > > I thought that was spam. - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Hi 2005-01-26 17:24 ` Hi fabio @ 2005-01-26 17:57 ` list 0 siblings, 0 replies; 7+ messages in thread From: list @ 2005-01-26 17:57 UTC (permalink / raw) To: linux-c-programming No spam, I hate spam... :) ===== ORIGINAL MESSAGE ===== > I thought that was spam. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-07-11 9:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <42D23006.6060506@effigent.net>
2005-07-11 9:24 ` hi Rechberger Markus
2005-07-11 6:20 hi raja
2005-07-11 8:20 ` hi Steve Graegert
-- 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
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).