From owner-freebsd-questions@FreeBSD.ORG Mon Jun 1 09:06:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A55D9106568C for ; Mon, 1 Jun 2009 09:06:15 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id CA4878FC1B for ; Mon, 1 Jun 2009 09:06:13 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n51968Uk029946; Mon, 1 Jun 2009 11:06:08 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n519678b029943; Mon, 1 Jun 2009 11:06:08 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 1 Jun 2009 11:06:07 +0200 (CEST) From: Wojciech Puchar To: Gary Kline In-Reply-To: <20090601010602.GA9692@thought.org> Message-ID: References: <20090601010602.GA9692@thought.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Mailing List Subject: Re: is there a macro that prints the incoming param list? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 09:06:16 -0000 > is there any marco that printfs the incoming list, or am i asking too much of the > compiler at runtime? > what a problem to do int a; for (a=0;a 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@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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >