mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 13:40:38 +00:00
[illumos] use pipe2 to create anonymous pipes
pipe2 allows the newly-created pipe to atomically be CLOEXEC.
pipe2 was added to illumos a long time ago:
5dbfd19ad5. I've verified that this change passes all of std's tests on illumos.