Skip to content

Commit 2ccb464

Browse files
committed
Document the sys::wait module
Noteworthy secondary changes included as a result of the primary documentation: * Additions to unistd::Pid to support waitpid calling conventions * Change the waitpid function signature (backward compatible) * Application of rustfmt to unistd.rs and sys::wait.rs Continued from work by * Marcin Mielniczuk <[email protected]> * Michael Aaron Murphy <[email protected]> Closes #654 and #651
1 parent 5dedbc7 commit 2ccb464

File tree

3 files changed

+320
-85
lines changed

3 files changed

+320
-85
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ This project adheres to [Semantic Versioning](https://semver.org/).
66
## [Unreleased] - ReleaseDate
77
### Added
88

9+
- Documentation of the `sys::wait` module
10+
(#[1732](https://github.com/nix-rust/nix/pull/1732))
11+
912
- Added `aio_writev` and `aio_readv`.
1013
(#[1713](https://github.com/nix-rust/nix/pull/1713))
14+
- Added `Pid::as_wait_pgrp` for use with `waitpid`
15+
(#[1732](https://github.com/nix-rust/nix/pull/1732))
1116

1217
- impl `From<uid_t>` for `Uid` and `From<gid_t>` for `Gid`
1318
(#[1727](https://github.com/nix-rust/nix/pull/1727))
@@ -28,6 +33,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
2833
* Changes the type of the `priority` arguments to `i32`.
2934
* Changes the return type of `aio_return` to `usize`.
3035
(#[1713](https://github.com/nix-rust/nix/pull/1713))
36+
- `waitpid` now accepts any `Into<Option<WaitPidFlag>>` instead of `Option<WaitPidFlag>`
37+
(#[1732](https://github.com/nix-rust/nix/pull/1732))
3138

3239
### Fixed
3340

0 commit comments

Comments
 (0)