Re: Looking for: __PROC_NAME__ equivalent to __FILE__ or __LINE__?

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

 



http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Function-Names.html

__FUNCTION__ and __PRETTY_FUNCTION__ do what you want, I think.

-- 
Tom Emerson                                          Basis Technology Corp.
Software Architect                                 http://www.basistech.com
 "You can't fake quality any more than you can fake a good meal." (W.S.B.)

[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