rust/src/libstd
Alex Crichton 1ec7a69732 std: Add an unstable method Child::id
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-16 11:13:38 -07:00
..
collections Rollup merge of #25240 - bluss:doc-hashmap-entry, r=steveklabnik 2015-05-10 16:44:23 -04:00
ffi std: Remove deprecated AsOsStr/Str/AsSlice traits 2015-04-21 11:37:34 -07:00
io Update docs to stop referencing BufReadExt 2015-05-10 16:32:18 -04:00
net Rollup merge of #25216 - barosl:no-more-task, r=Manishearth 2015-05-09 18:40:19 +05:30
num std: Don't use a wrapper for the float error type 2015-05-01 16:44:36 -07:00
os Rollup merge of #25140 - kevinmehall:mips, r=steveklabnik 2015-05-09 00:37:42 +05:30
prelude Rollup merge of #25224 - brson:stddoc, r=steveklabnik 2015-05-13 00:52:48 -04:00
rand Squeeze the last bits of tasks in documentation in favor of thread 2015-05-09 02:24:18 +09:00
rt Convert #[lang="..."] to #[lang = "..."] 2015-05-09 14:50:28 -05:00
sync Auto merge of #24920 - alexcrichton:duration, r=aturon 2015-05-14 18:18:39 +00:00
sys std: Add an unstable method Child::id 2015-05-16 11:13:38 -07:00
thread Auto merge of #24920 - alexcrichton:duration, r=aturon 2015-05-14 18:18:39 +00:00
time std: Redesign Duration, implementing RFC 1040 2015-05-13 17:50:58 -07:00
array.rs rustdoc: Support for "array" primitive 2015-03-23 14:02:34 -07:00
ascii.rs Model lexer: Fix remaining issues 2015-04-21 12:02:12 +02:00
bool.rs Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
dynamic_lib.rs std: Prepare for linking to musl 2015-04-27 10:11:15 -07:00
env.rs libstd/env: Add non-Rust synchronization warnings for setenv() 2015-05-13 21:14:15 -04:00
error.rs std: Don't use a wrapper for the float error type 2015-05-01 16:44:36 -07:00
fs.rs std: Rename sys::foo2 modules to sys::foo 2015-05-07 09:30:00 -07:00
lib.rs std: fix a link 2015-05-15 14:46:51 -04:00
macros.rs Squeeze the last bits of tasks in documentation in favor of thread 2015-05-09 02:24:18 +09:00
panicking.rs std: Don't assume thread::current() works on panic 2015-04-27 16:15:36 -07:00
path.rs Rollup merge of #25278 - cpjreynolds:path-doc, r=alexcrichton 2015-05-11 23:24:18 -04:00
process.rs std: Add an unstable method Child::id 2015-05-16 11:13:38 -07:00
rtdeps.rs std: Prepare for linking to musl 2015-04-27 10:11:15 -07:00
thunk.rs Remove Thunk struct and Invoke trait; change Thunk to be an alias 2015-04-01 14:41:21 -04:00
tuple.rs Remove doc-comment default::Default imports 2015-04-22 09:42:36 -04:00
unit.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00