1) When looking throught the select() man page, it has the following in the description:
Quote:
Those listed in readfds will be watched to see if characters become available for reading (more precisely, to see if a read will not block; in particular, a file descriptor is also ready on end-of-file.
|
Does the phrase "if a read will not block" mean that reading from that file descriptor wont cause an error? Basically I'm not sure what block means.
2) Also, when I use select to watch a file descriptor, the time structure allows me to... have my program pause during the select() function call, waiting for an fd to become available??? And if one doesn't become available, then the program continues on?