Skip to content

Commit

Permalink
Document the sys::wait module
Browse files Browse the repository at this point in the history
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 nix-rust#654 and nix-rust#651
  • Loading branch information
vkkoskie committed Jun 5, 2022
1 parent 5dedbc7 commit c1f1007
Show file tree
Hide file tree
Showing 3 changed files with 318 additions and 85 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ This project adheres to [Semantic Versioning](https://semver.org/).
## [Unreleased] - ReleaseDate
### Added

- Documentation of the `sys::wait` module
(#[1732](https://github.com/nix-rust/nix/pull/1732))

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

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

### Fixed

Expand Down
Loading

0 comments on commit c1f1007

Please sign in to comment.