title: How to delete a file in Linux where all I have is the file descriptor
body: <p>I have an <code>int</code> file descriptor that was opened earlier (via <code>open</code>) and I need to remove that file.</p>
  
  <p>Do I really have to first get the file name and call <code>remove</code>? 
  (e.g. via using the technique in <a href="https://stackoverflow.com/questions/1188757/getting-filename-from-file-descriptor-in-c">Getting Filename from file descriptor in C</a>)</p>
  
  <p>Or is there some other (linux specific OK) way of doing it solely based on the file descriptor?</p>
  
  <p>I have searched and the best I could find is the above answer.</p>