title: Effect of file creation/opening on st_mtime and st_atime
body: <p>When I create or open a file in UNIX using <code>O_CREAT</code> flag, <code>st_mtime</code>,<code>st_ctime</code> and <code>st_atime</code> of the file changes. But when I create or open a file using <code>O_TRUNC</code> flag, only the <code>st_mtime</code> and <code>st_ctime</code> changes and not the <code>st_atime</code>.</p>
  
  <p>From my understanding, <code>st_atime</code> changes when the file is accessed. When we open or create a file using O_TRUNC flag, are we not accessing the file?</p>