title: readdir() beginning with dots instead of files
body: <p>I have a little problem. I'm reading files from directory and it works, but it read two extra files on the beginning ...what is it? 
  for example, there is a list of files: <code>"A348", "A348A", "A348B"</code>
  and this is what i get: <code>".", "..", "A348", "A348A", "A348B"</code>  ???</p>
  
  <pre><code>DIR *dir;
  struct dirent *dp;
  char * file_name;
  while ((dp=readdir(dir)) != NULL) {
  
          file_name = dp-&gt;d_name;            
  }
  </code></pre>