Skip to content

Commit e1def7b

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 e1def7b

File tree

3 files changed

+284
-52
lines changed

3 files changed

+284
-52
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
88

99
- Added `aio_writev` and `aio_readv`.
1010
(#[1713](https://github.com/nix-rust/nix/pull/1713))
11+
- Added `Pid::as_wait_pgrp` for use with `waitpid`
12+
(#[1732](https://github.com/nix-rust/nix/pull/1732))
1113

1214
- impl `From<uid_t>` for `Uid` and `From<gid_t>` for `Gid`
1315
(#[1727](https://github.com/nix-rust/nix/pull/1727))
@@ -28,6 +30,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
2830
* Changes the type of the `priority` arguments to `i32`.
2931
* Changes the return type of `aio_return` to `usize`.
3032
(#[1713](https://github.com/nix-rust/nix/pull/1713))
33+
- `waitpid` now accepts any `Into<Option<WaitPidFlag>>` instead of `Option<WaitPidFlag>`
34+
(#[1732](https://github.com/nix-rust/nix/pull/1732))
3135

3236
### Fixed
3337

0 commit comments

Comments
 (0)