Re: ifdefs: O_NONBLOCK O_NOCTTY TIOCMGET

2017-11-06 Thread Matthew Selsky via devel
On Sat, Nov 04, 2017 at 10:22:25PM -0700, Hal Murray via devel wrote: > > 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 the

ifdefs: O_NONBLOCK O_NOCTTY TIOCMGET

2017-11-04 Thread Hal Murray via devel
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