- Subject: macro to print filename
- From: ratheesh kannoth <ratheesh.ksz@xxxxxxxxx>
- Date: Wed, 1 Jun 2011 21:37:42 +0530
- List-id: <linux-c-programming.vger.kernel.org>
__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 .
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Assembler]
[Git]
[Kernel List]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[Yosemite Campsites]
[Yosemite News]
[GCC Help]