cygwin source question

Christopher Layne
Sun Jan 21 14:37:00 GMT 2007

I notice in some places, there are double-negates, like:

me->read_ready |= ret || !!(events & (FD_READ | FD_ACCEPT | FD_CLOSE));

What's the rationale for these? To enforce either a 0 or 1, to be directly
in line with boolean, rather than a zero or non-zero result?


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list