macro to print filename

ratheesh kannoth <[email protected]> Wed, 1 Jun 2011 21:37:42 +0530
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
__FILE__ macro prints relative path name of the file. I need only
filename. How to extract this ?

I dont want to use any string library - since it includes more
Processing and needs to store the character array in executable. IS
there any method at preprocessing level to do this .