From e3ebc5f534ee988d98c32b5e256ff08f71931225 Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Tue, 8 Oct 2024 15:27:40 +0300 Subject: [PATCH] procctl(2): Clarify the ESRCH error code case Approved by: kib Differential Revision: https://reviews.freebsd.org/D47010 --- lib/libsys/procctl.2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libsys/procctl.2 b/lib/libsys/procctl.2 index df8119799c6d..efb1812b284c 100644 --- a/lib/libsys/procctl.2 +++ b/lib/libsys/procctl.2 @@ -755,6 +755,10 @@ No processes matched the requested .Fa idtype and .Fa id . +.It Bq Er ESRCH +No descendant processes can be found matching criteria specified in the +.Dv PROC_REAP_KILL +request. .It Bq Er EINVAL An invalid operation or flag was passed in .Fa data