title: C fopen vs open
body: <p>Is there any reason (other than syntactic ones) that you'd want to use </p>
  
  <pre><code>FILE *fdopen(int fd, const char *mode);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>FILE *fopen(const char *path, const char *mode);
  </code></pre>
  
  <p>instead of </p>
  
  <pre><code>int open(const char *pathname, int flags, mode_t mode);
  </code></pre>
  
  <p>when using C in a Linux environment?</p>