rust/src/libstd/sys/windows
Josh Stone 9debe91675 Add conversions from File and Child* handles to Stdio
`Stdio` now implements `From<ChildStdin>`, `From<ChildStdout>`,
`From<ChildStderr>`, and `From<File>`.

The `Command::stdin`/`stdout`/`stderr` methods now take any type that
implements `Into<Stdio>`.

This makes it much easier to write shell-like command chains, piping to
one another and redirecting to and from files.  Otherwise one would need
to use the unsafe and OS-specific `from_raw_fd` or `from_raw_handle`.
2017-06-06 15:42:55 -07:00
..
backtrace Improve backtrace formating while panicking. 2017-02-15 14:24:37 -05:00
ext Fix doc test failure for OpenOptionsExt 2017-05-19 07:29:52 -05:00
args.rs Move platform-specific arg handling to sys::args 2016-10-02 14:52:30 -07:00
c.rs Auto merge of #41684 - jethrogb:feature/ntstatus, r=alexcrichton 2017-05-11 22:37:38 +00:00
compat.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
condvar.rs Use monotonic time with condition variables. 2016-07-31 12:47:52 +02:00
dynamic_lib.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
env.rs std: Move platform specific env code into sys 2016-10-01 19:32:59 +00:00
fs.rs Support unprivileged symlink creation in Windows 2017-01-09 08:15:04 +05:30
handle.rs std: Clamp max read/write sizes on Unix 2016-12-26 15:08:53 -08:00
memchr.rs std: Move platform specific memchr code into sys 2016-10-01 19:33:02 +00:00
mod.rs Attempt at fixing dead code lints 2017-01-27 11:33:24 +02:00
mutex.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
net.rs libstd/net: Add peek APIs to UdpSocket and TcpStream 2017-02-04 12:00:19 -08:00
os.rs Add test 2017-05-11 09:47:02 -07:00
os_str.rs Auto merge of #40009 - clarcharr:box_to_buf, r=alexcrichton 2017-03-15 04:24:10 +00:00
path.rs std: Move platform specific path code into sys 2016-10-01 19:28:17 +00:00
pipe.rs std: Don't pass overlapped handles to processes 2017-01-04 15:37:12 -08:00
process.rs Add conversions from File and Child* handles to Stdio 2017-06-06 15:42:55 -07:00
rand.rs rand: Fix filling buffers 4 GiB or larger with OsRng::fill_bytes on Windows 2016-02-25 01:35:41 +00:00
rwlock.rs Register new snapshots 2015-08-11 15:11:13 -07:00
stack_overflow.rs Fix warnings during tests 2016-01-26 09:29:28 -08:00
stdio.rs std: Don't cache stdio handles on Windows 2017-03-23 07:22:48 -07:00
thread.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
thread_local.rs std: Avoid locks during TLS destruction on Windows 2017-05-05 06:59:49 -07:00
time.rs std: Expose SystemTime accessors on fs::Metadata 2016-02-04 13:15:28 -08:00