[PATCH 2/2] pthread_cond_init.3: Remove EINTR error code
Alejandro Colomar
alx@kernel.org
Sat Jan 4 20:14:24 GMT 2025
Hi Arkadiusz,
On Fri, Jan 03, 2025 at 06:38:16PM +0100, Arkadiusz Drabczyk wrote:
> In pthreads.7 it says:
>
> "For each of the pthreads functions that can return an error,
> POSIX.1-2001 specifies that the function can never fail with the error
> EINTR."
>
> Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
>
> Link: <https://lore.kernel.org/linux-man/Z3W_qgawqyEB-QrA@comp../>
I have applied both patches. Thanks!
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=b21b7ef58e5ff367d78432a3af5af235c31e23af>
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=124f715bfce56727e8ac86989f07476bb345cf19>
Cheers,
Alex
> ---
> man/man3/pthread_cond_init.3 | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/man/man3/pthread_cond_init.3 b/man/man3/pthread_cond_init.3
> index 658f390f6..15556219b 100644
> --- a/man/man3/pthread_cond_init.3
> +++ b/man/man3/pthread_cond_init.3
> @@ -153,9 +153,6 @@ the following error codes on error:
> \fBETIMEDOUT\fP
> The condition variable was not signaled
> until the timeout specified by \fIabstime\fP.
> -.TP
> -\fBEINTR\fP
> -\fBpthread_cond_timedwait\fP was interrupted by a signal.
> .RE
> .P
> The \fBpthread_cond_destroy\fP function returns
> --
> 2.45.2
>
--
<https://www.alejandro-colomar.es/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-help/attachments/20250104/0cf15c46/attachment.sig>
More information about the Libc-help
mailing list