This may be true with files, but it's definitely not true with socket file descriptors.Using O_NONBLOCK with select() is almost never the right thing to do.
This may be true with files, but it's definitely not true with socket file descriptors.Using O_NONBLOCK with select() is almost never the right thing to do.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge