Why fcntl(fd, F_SETFL, 0) use in serial port programming
<p>I am starting serial port programming in Linux. After reading several examples on the web, I don't understand exact effect of <code>fcntl(fd, F_SETFL, 0)</code>? It is clearing bits, but what flags does it affect? What does it set and or clear? </p>