This provides a portable API for managing O_NONBLOCK settings. The sim will use this to replace its own incomplete shims.