linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* macro to print filename
@ 2011-06-01 16:07 ratheesh kannoth
  2011-06-01 17:38 ` Michal Nazarewicz
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: ratheesh kannoth @ 2011-06-01 16:07 UTC (permalink / raw)
  To: linux-c-programming

__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 .

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-06-02 19:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-01 16:07 macro to print filename ratheesh kannoth
2011-06-01 17:38 ` Michal Nazarewicz
2011-06-01 18:45   ` Zhongye Jia
2011-06-01 19:08     ` Michal Nazarewicz
2011-06-02 13:39       ` Zhongye Jia
2011-06-02 18:11         ` ratheesh kannoth
2011-06-02 19:11           ` Michal Nazarewicz
2011-06-01 18:08 ` Zhongye Jia
2011-06-01 19:11   ` Michal Nazarewicz
2011-06-01 19:24     ` Aniruddha Bhattacharyya
2011-06-01 19:27       ` Michal Nazarewicz
2011-06-02  2:10 ` Libin Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).