Skip to content

Conversation

@marmistrz
Copy link
Contributor

No description provided.

@Susurrus
Copy link
Contributor

Susurrus commented Jul 7, 2017

This is already being worked on in #651 and I'd prefer to avoid conflicting PRs here. Can you add comments there if that PR doesn't include documentation that you want to see for waitpid()?

}
}

/// Counterpart of the POSIX `waitpid` function
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should actually describe what waitpid does with a brief summary line at the top and maybe an extended summary below it (with a blank comment line in between). Just saying it is a wrapper around waitpid isn't very helpful.

Additionally can you link to the man page in the extended description here.

}

/// Counterpart of the POSIX `waitpid` function
/// It's best to use `nix::unistd::Pid` for passing the PID to this function
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this specified by the argument type?

@Susurrus
Copy link
Contributor

Let's go ahead and move this forward since #651 looks stalled.

@Susurrus
Copy link
Contributor

@marmistrz I wanted to ping you on this. Would you be interested in updating this PR so we can get it merged?

@marmistrz
Copy link
Contributor Author

As in #666, when I have more time.

@Susurrus
Copy link
Contributor

@marmistrz Any idea when you'd be able to wrap this up? I'd like to either merge this or close this issue in the near future.

@asomers
Copy link
Member

asomers commented Oct 3, 2020

@marmistrz looks like this fell off of your radar. Any interest in finishing it?

vkkoskie added a commit to vkkoskie/nix that referenced this pull request Jun 5, 2022
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 <marmistrz.dev@gmail.com>
* Michael Aaron Murphy <mmstickman@gmail.com>

Closes nix-rust#654 and nix-rust#651
vkkoskie added a commit to vkkoskie/nix that referenced this pull request Jun 5, 2022
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 <marmistrz.dev@gmail.com>
* Michael Aaron Murphy <mmstickman@gmail.com>

Closes nix-rust#654 and nix-rust#651
vkkoskie added a commit to vkkoskie/nix that referenced this pull request Jun 5, 2022
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 <marmistrz.dev@gmail.com>
* Michael Aaron Murphy <mmstickman@gmail.com>

Closes nix-rust#654 and nix-rust#651
vkkoskie added a commit to vkkoskie/nix that referenced this pull request Jun 8, 2022
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 <marmistrz.dev@gmail.com>
* Michael Aaron Murphy <mmstickman@gmail.com>

Closes nix-rust#654 and nix-rust#651
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants