kill(process) should throw an exception rather than return -errno? #18145
Labels
breaking
This change will break code
design
Design of APIs or of the language itself
needs decision
A decision on this change is needed
needs docs
Documentation for this change is required
Milestone
kill(p)
currently returns 0 on success, -errno on failure, and -1 if the process was not running. (This is undocumented, by the way.) Shouldn't it throw an exception on failure instead?The text was updated successfully, but these errors were encountered: