title: c++ cross-platform method for file-io is needed
body: <p>Is there any standard cross-platform analogue for file-io in c/c++ to</p>
  
  <pre><code>   int open(const char *pathname, int flags, mode_t mode);
  </code></pre>
  
  <p>?</p>