title: Non-blocking call for reading descriptor
body: <p>I have a fd descriptor, which I can use to read from by calling <code>read(fd, buffer,...)</code>. Now, I want to check if there is anything to read before actually making the call, because the call is blocking. How do I do this?</p>