diff options
author | Johannes Schilling <dario@deaktualisierung.org> | 2021-11-23 20:44:09 +0100 |
---|---|---|
committer | Johannes Schilling <dario@deaktualisierung.org> | 2021-11-26 21:19:45 +0100 |
commit | d606293109ce3230e11518703fa234bbb64540cf (patch) | |
tree | c20a1e91837c155f9ad7086e8fe5b5beab48eabc /src/sys | |
parent | 7c3121a6c807b2b170fda7bc466e2dc2d28e62f2 (diff) | |
download | nix-d606293109ce3230e11518703fa234bbb64540cf.zip |
Update doc comment to match type `Option<Signal>`
This has previously been done for `killpg`, but not `kill` it seems.
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/signal.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/signal.rs b/src/sys/signal.rs index e8c79d33..61bdc74a 100644 --- a/src/sys/signal.rs +++ b/src/sys/signal.rs @@ -868,8 +868,8 @@ pub fn sigprocmask(how: SigmaskHow, set: Option<&SigSet>, oldset: Option<&mut Si /// is sent to all processes exclusing system processes. /// - If less than `-1`, the signal is sent to all processes whose /// process group ID is equal to the absolute value of `pid`. -/// * `signal` - Signal to send. If 0, error checking if performed but no -/// signal is actually sent. +/// * `signal` - Signal to send. If `None`, error checking is performed +/// but no signal is actually sent. /// /// See Also /// [`kill(2)`](https://pubs.opengroup.org/onlinepubs/9699919799/functions/kill.html) |