Date: Sun, 31 May 2009 15:31:40 -0700 From: Gary Kline <kline@thought.org> To: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: how to i designate the current function...? Message-ID: <20090531223136.GA9212@thought.org>
next in thread | raw e-mail | index | archive | help
I'm not sure this is std yet, but think it is available in gcc.
If I'm calling funtion bar(char *, char) with one of the args
incorrect, is there a way to have gcc name bar() in an error message?
I have a function that I may rename that asks whether or not to continue
processing "Y/n", and I type in 'U' rather that 'Y' in the calling
routine, what's the _MAGIC_ string to use.
Right now i have something like :
default_yesno("Continue? [Y/n]? ", 'Y'); and in default_yesno()
I error check.
Just to save o/wise time/effort/typing.
gary
--
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090531223136.GA9212>
