function name macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Is there any macro that produces the function name of the function that uses this macro ?

For example :

int foo( int a )
{
	printf( __FUNCTION_NAME__ " a = %d", a );
	. . .
}

Thanks,

Vu


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux