[Solved] What is this operation in C?
Assuming ICANON is a bit-mask, i.e. an integer with bits set to represent some feature, that statement will make sure those bits are not set in c_lflag. This is often called “masking off” those bits. The operation is a bitwise AND with the bitwise inverse (~ is bitwise inverse). So, if the value of c_lflag … Read more