Fix usage of O_CLOEXEC in SETFL (#596)
Fix usage of O_CLOEXEC in SETFL (#596)

* Fix usage of O_CLOEXEC in SETFL

* Use GETFD instead of GETFL for cloexec

mneumann/mio,carllerche/mio,mneumann/mio,murarth/mio,fuchsia-mirror/third_party-mio,carllerche/mio,fuchsia-mirror/third_party-mio