Re: [PATCH v4 1/1] man/man2/kill.2: Wording issue in kill(2) with sig=0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amit,

On Wed, Feb 12, 2025 at 10:56:20PM +0200, Amit Pinhas wrote:
> The fix was found from the relevant man page itself, as it had a wording
> issue regarding the return value when sig=0.
> 
> Reported-by: Amit Pinhas <amitpinhass@xxxxxxxxx>
> Acked-by: Alejandro Colomar <alx@xxxxxxxxxx>
> Signed-off-by: Amit Pinhas <amitpinhass@xxxxxxxxx>

Thanks!  This patch looks great.  I've applied it.  I applied some
tweaks to the commit message, to better document the rationale:
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=71154d16c5b5fe09b46acdfdf7c8a57f8f2fb892>

I had plans to release a new version today, but haven't had time.  I'll
release hopefully later this week.  Thanks for contributing!


Have a lovely night!
Alex

> ---
>  man/man2/kill.2 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/man/man2/kill.2 b/man/man2/kill.2
> index 96468622e..9d3a7411e 100644
> --- a/man/man2/kill.2
> +++ b/man/man2/kill.2
> @@ -79,7 +79,9 @@ .SH DESCRIPTION
>  processes belong to the same session.
>  (Historically, the rules were different; see HISTORY.)
>  .SH RETURN VALUE
> -On success (at least one signal was sent), zero is returned.
> +On success, zero is returned.
> +If signals were sent to a process group,
> +success means that at least one signal was delivered.
>  On error, \-1 is returned, and
>  .I errno
>  is set to indicate the error.
> -- 
> 2.43.0
> 
> 

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux