2 ms·
> The function of kill is to kill a given pid 1. there are more failure modes than these (POSIX kill(2) can set 3 different errnos) 2. kill(2) signals process
by masklinn 11y ago
> The function of kill is to kill a given pid
1. there are more failure modes than these (POSIX kill(2) can set 3 different errnos)
2. kill(2) signals process, it doesn't usually kill them (let alone kill them outright in such a way that this information could ever be returned)
3. kill(2) can signal process sets of cardinality > 1
4. the `unwrap` panic message will print the unwrapped value, which includes the ERRNO