title: Using open() to create a file in C
body: <p>This is the first time I am using <code>open()</code> from:</p>
  
  <pre><code>#include &lt;fcntl.h&gt;
  </code></pre>
  
  <p>I am trying to create two files:</p>
  
  <pre><code>int fd;
  int fd2;
  char *tmpname = "./TMPFILE";
  printf( "Temporary file created\n ");
  char *tmpname2 = "./TMPFILE2";
  printf( "Temporary file two created\n ");
  fd = open(tmpname, O_WRONLY | O_APPEND);
  fd2 = open(tmpname2, O_WRONLY | O_APPEND);
  </code></pre>
  
  <p>I am trying to create the files in the current working directory that can be written and appended to.</p>
  
  <p>This compiles and runs, but my concern is that when I check my directory to see if the files were created, they aren't listed.</p>
  
  <p>My question is does <code>open()</code> only make temporary files that are removed after the program runs or did I screw something up?</p>