rust/src/libstd/sys
bors f34ff7af73 Auto merge of #25495 - alexcrichton:process-pid, r=aturon
This commits adds a method to the `std::process` module to get the process
identifier of the child as a `u32`. On Windows the underlying identifier is
already a `u32`, and on Unix the type is typically defined as `c_int` (`i32` for
almost all our supported platforms), but the actually pid is normally a small
positive number.

Eventually we may add functions to load information about a process based on its
identifier or the ability to terminate a process based on its identifier, but
for now this function should enable this sort of functionality to exist outside
the standard library.
2015-05-19 19:20:20 +00:00
..
common Make debug builders take &mut self, add entries method 2015-05-17 17:33:29 -07:00
unix Auto merge of #25495 - alexcrichton:process-pid, r=aturon 2015-05-19 19:20:20 +00:00
windows std: Add an unstable method Child::id 2015-05-16 11:13:38 -07:00