diff options
| author | kennytm <kennytm@gmail.com> | 2017-11-01 13:32:15 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-01 13:32:15 +0800 |
| commit | e9b5c86c03617d8fdfef4dd681418748931acc9a (patch) | |
| tree | c84d45614ff8d883d9aa21529085c2ffc07084fb /src/libstd | |
| parent | cf0fe06bb9d0d5bb8200ec752a9b51bf746d3f5a (diff) | |
| parent | afc7106a2970e38601eeb52a39559509acf1de29 (diff) | |
| download | rust-e9b5c86c03617d8fdfef4dd681418748931acc9a.tar.gz rust-e9b5c86c03617d8fdfef4dd681418748931acc9a.zip | |
Rollup merge of #45648 - tbu-:pr_doc_unix_ext, r=estebank
Update doc comment for the Unix extension module It was a bit outdated, claimed to be able to do less than it actually could.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/sys/unix/ext/mod.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libstd/sys/unix/ext/mod.rs b/src/libstd/sys/unix/ext/mod.rs index 98bc90dd4e1..c221f7c8cfe 100644 --- a/src/libstd/sys/unix/ext/mod.rs +++ b/src/libstd/sys/unix/ext/mod.rs @@ -10,8 +10,14 @@ //! Experimental extensions to `std` for Unix platforms. //! -//! For now, this module is limited to extracting file descriptors, -//! but its functionality will grow over time. +//! Provides access to platform-level information on Unix platforms, and +//! exposes Unix-specific functions that would otherwise be inappropriate as +//! part of the core `std` library. +//! +//! It exposes more ways to deal with platform-specific strings (`OsStr`, +//! `OsString`), allows to set permissions more granularly, extract low-level +//! file descriptors from files and sockets, and has platform-specific helpers +//! for spawning processes. //! //! # Examples //! |
