As far as I can see (at least in NetBSD) O_NONBLOCK and FIONBIO are equivalent,
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 2 Oct 2007 21:07:52 +0000 (21:07 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 2 Oct 2007 21:07:52 +0000 (21:07 +0000)
commitf98b826007692d62a286b12c0360617480828d02
tree48d2d6bfde0873af429f9a505f1e5c5cd264e705
parent837d6ba65e2511747da1c8e5a096f59d1f48c475
As far as I can see (at least in NetBSD) O_NONBLOCK and FIONBIO are equivalent,
except that O_NONBLOCK is standardised and FIONBIO isn't.  In consequence,
replace our only use of FIONBIO with O_NONBLOCK.

Inspired by Jonathan H N Chin, who had problems with this on Solaris.

git-svn-id: svn://svn.tartarus.org/sgt/putty@7753 cda61777-01e9-0310-a592-d414129be87e
unix/uxpty.c