Edd Barrett 5c3825ffc5
Set non-blocking IO more robustly.
- Check for errors.
 - Add O_NONBLOCK on top of any existing flags.

set_nonblock() is adapted from lang_tester:
e01072a0a4/src/tester.rs (L1041-L1048)
2023-01-25 12:15:14 +00:00
..
2023-01-25 12:15:14 +00:00
2022-11-18 14:08:46 +01:00
2021-03-20 15:19:03 -07:00