title: Linux "ls -l" implementation using file descriptors in C/C++
body: <p>I need to implement <code>ls</code> program in C language. 
  And I want to find a way to not use <code>&lt;dirent.h&gt;</code> library. </p>
  
  <p>Can I get list of files in directory using file descriptors in Linux C?</p>
  
  <p>Thanks.</p>