Re: [PATCH] man3/sem_post.3: EOVERFLOW add SEM_VALUE_MAX to description (wfix)
From: Alex Tran <hidden>
Date: 2025-08-18 04:22:13
Thanks for the review. I'll follow up with a patch v2 with the adjustments. On Sun, Aug 17, 2025 at 8:44 PM Alejandro Colomar [off-list ref] wrote:
Hi Alex, On Sun, Aug 17, 2025 at 08:32:56PM -0700, Alex Tran wrote:quoted
See: <https://bugzilla.kernel.org/show_bug.cgi?id=219335> Signed-off-by: Alex Tran <redacted>Thanks! See a comment below.quoted
--- man/man3/sem_post.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/man/man3/sem_post.3 b/man/man3/sem_post.3 index 1df132c89..03b91b9a9 100644 --- a/man/man3/sem_post.3 +++ b/man/man3/sem_post.3@@ -38,7 +38,7 @@ is not a valid semaphore. .TP .B EOVERFLOW .\" Added in POSIX.1-2008 TC1 (Austin Interpretation 213) -The maximum allowable value for a semaphore would be exceeded. +The value exceeded SEM_VALUE_MAX limit.This wording is slightly incorrect: the value would be exceeded, if it were increased, but of course, sem_post(3) will not increase it. I suggest something like: The value would exceed SEM_VALUE_MAX. Have a lovely day! Alexquoted
.SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). -- 2.34.1-- <https://www.alejandro-colomar.es/>
-- Alex Tran alex.t.tran@gmail.com | 408-406-2417