title: File Path to in memory file
body: <p>I have a <code>void *buffer</code> that is an instance of a file in RAM.</p>
  
  <p>The file type is in a format that must be parsed by the API given.</p>
  
  <p>Unfortunately, the only way to open this file type through the API is to supply the API with the file path:</p>
  
  <pre><code>sample_api_open(char *file_name, ...);
  </code></pre>
  
  <p>I understand that <code>shm_open</code> returns the file descriptor, but the API only takes a file path.</p>
  
  <p>Is there a work around to read this type of file in memory?</p>