Why is select used in Linux
The select() system call tells you whether there is any data to read on the file descriptors that you’re interested in. Strictly, it is a question of whether a read operation on the file descriptor will block or not. If you execute read() on a file descriptor — such as that connected to a serial … Read more