title: How to use select() to read input from keyboard in C
body: <p>I am trying to use select() to read keyboard input and I got stuck in that I do not know how to read from keyboard and use a file descriptor to do so. I've been told to use STDIN and STDIN_FILENO to approach this problem but I am still confused.<br>
  How can I do it?</p>