rust/src/libstd/sys/unix
Alex Crichton 627515a7ff std: Push Child's exit status to sys::process
On Unix we have to be careful to not call `waitpid` twice, but we don't have to
be careful on Windows due to the way process handles work there. As a result the
cached `Option<ExitStatus>` is only necessary on Unix, and it's also just an
implementation detail of the Unix module.

At the same time. also update some code in `kill` on Unix to avoid a wonky
waitpid with WNOHANG. This was added in 0e190b9a to solve #13124, but the
`signal(0)` method is not supported any more so there's no need to for this
workaround. I believe that this is no longer necessary as it's not really doing
anything.
2016-02-10 09:28:48 -08:00
..
backtrace Add the asmjs-unknown-emscripten triple. Add cfgs to libs. 2016-02-06 20:56:14 +00:00
ext std: Implement CommandExt::before_exec 2016-02-10 09:28:48 -08:00
condvar.rs std: Add Instant and SystemTime to std::time 2015-11-19 09:32:38 -08:00
fd.rs std: When duplicating fds, skip extra set_cloexec 2016-02-05 16:58:10 -08:00
fs.rs Auto merge of #31468 - pitdicker:fs_tests_cleanup, r=alexcrichton 2016-02-08 07:38:11 +00:00
mod.rs Auto merge of #30629 - brson:emscripten-upstream, r=alexcrichton 2016-02-06 21:18:50 +00:00
mutex.rs std: Migrate to the new libc 2015-11-09 22:55:50 -08:00
net.rs std: Add support for accept4 on Linux 2016-02-05 17:11:02 -08:00
os_str.rs std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
os.rs Add the asmjs-unknown-emscripten triple. Add cfgs to libs. 2016-02-06 20:56:14 +00:00
pipe.rs std: Try to use pipe2 on Linux for pipes 2016-02-05 17:11:02 -08:00
process.rs std: Push Child's exit status to sys::process 2016-02-10 09:28:48 -08:00
rwlock.rs std: Migrate to the new libc 2015-11-09 22:55:50 -08:00
stack_overflow.rs Auto merge of #31333 - lambda:31273-abort-on-stack-overflow, r=brson 2016-02-06 09:24:04 +00:00
stdio.rs some more clippy-based improvements 2015-09-08 00:36:29 +02:00
thread_local.rs std: Migrate to the new libc 2015-11-09 22:55:50 -08:00
thread.rs Auto merge of #30629 - brson:emscripten-upstream, r=alexcrichton 2016-02-06 21:18:50 +00:00
time.rs std: Expose SystemTime accessors on fs::Metadata 2016-02-04 13:15:28 -08:00
weak.rs std: Add support for accept4 on Linux 2016-02-05 17:11:02 -08:00