ifdefs: O_NONBLOCK O_NOCTTY TIOCMGET

Hal Murray hmurray at megapathdsl.net
Sun Nov 5 05:22:25 UTC 2017


While looking at some code, I noticed several symbols that are sometimes 
protected with an ifdef and sometimes assumed to exist.

I think they are all required by POSIX, and thus the ifdefs are not needed.

Is there any simple way to verify that a symbol is required by POSIX, and/or 
the parts of POSIX we require?

Any reason I don't get rid of the ifdefs?


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list