title: __FILE__ macro shows full path
body: <p>The standard predefined macro <code>__FILE__</code> available in C shows the full path to the file. Is there any way to short the path? I mean instead of</p>
  
  <pre><code>/full/path/to/file.c
  </code></pre>
  
  <p>I see</p>
  
  <pre><code>to/file.c
  </code></pre>
  
  <p>or </p>
  
  <pre><code>file.c
  </code></pre>