title: what is difference between file descriptor and fildes
body: <p>What is fildes and in linux, what is the difference between file descriptor and fildes. For example, the below write deals with file descriptor</p>
  
  <pre><code>ssize_t write(int fd, const void *buf, size_t count);
  </code></pre>
  
  <p>Where as the below pwrite deals with fildes</p>
  
  <pre><code>ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); 
  </code></pre>