From a0afef91aaa233de9e70d51ab734175ff035739d Mon Sep 17 00:00:00 2001 From: mvs Date: Fri, 12 Jun 2026 10:56:23 +0000 Subject: [PATCH] Add missing ESRCH error description to getthrname(2) man page. ok claudio --- lib/libc/sys/getthrname.2 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/libc/sys/getthrname.2 b/lib/libc/sys/getthrname.2 index 5b360a55d16..545ab7da20a 100644 --- a/lib/libc/sys/getthrname.2 +++ b/lib/libc/sys/getthrname.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getthrname.2,v 1.3 2025/12/03 17:09:23 kurt Exp $ +.\" $OpenBSD: getthrname.2,v 1.4 2026/06/12 10:56:23 mvs Exp $ .\" .\" Copyright (c) 2023 Philip Guenther .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 3 2025 $ +.Dd $Mdocdate: June 12 2026 $ .Dt GETTHRNAME 2 .Os .Sh NAME @@ -97,6 +97,12 @@ The argument points to an invalid address. .El +.Bl -tag -width Er +.It Bq Er ESRCH +The thread +.Fa tid +does not exist. +.El .Pp In addition, .Fn getthrname