is there a macro that prints the incoming param list?

Gary Kline kline at thought.org
Mon Jun 1 01:06:11 UTC 2009


is there any marco that printfs the incoming list, or am i asking too much of the
compiler at runtime?

example:

	main (int argc, char *argv)

	with this macro might print:  

	"2", "testinput"

	and baz(char *file, int count)

	similarly might print, 

	"testinput", "47"

	i'm probably asking the impossible, but this is certainly the place to
	ask.  

	thanks,

	gary


	ps: i'm looking to create a DEBUG header.



-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 4.91a release of Jottings: http://jottings.thought.org/index.php



More information about the freebsd-questions mailing list