linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pthread_spin_init(3): tfix
@ 2017-10-21 20:21 G. Branden Robinson
       [not found] ` <20171021202128.njpgppyvcjpenbos-Z0uaYDh/Ni4SozaZsD9aTtHuzzzSOjJt@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: G. Branden Robinson @ 2017-10-21 20:21 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

diff --git a/man3/pthread_spin_init.3 b/man3/pthread_spin_init.3
index e6cf692d7..3018d804a 100644
--- a/man3/pthread_spin_init.3
+++ b/man3/pthread_spin_init.3
@@ -30,7 +30,7 @@ pthread_spin_init, pthread_spin_destroy \- initialize or destroy a spin lock
 .B #include <pthread.h>
 .PP
 .BI "int pthread_spin_init(pthread_spinlock_t *" lock " int " pshared ");"
-.BI "int pthread_spin_destroy(pthread_spinlock_t *" cock ");"
+.BI "int pthread_spin_destroy(pthread_spinlock_t *" lock ");"
 .fi
 .PP
 Compile and link with \fI\-pthread\fP.

-- 
Regards,
Branden

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: pthread_spin_init(3): tfix
       [not found] ` <20171021202128.njpgppyvcjpenbos-Z0uaYDh/Ni4SozaZsD9aTtHuzzzSOjJt@public.gmane.org>
@ 2017-10-22  5:51   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-10-22  5:51 UTC (permalink / raw)
  To: G. Branden Robinson, linux-man-u79uwXL29TY76Z2rM5mHXA
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w

Sigh! Thanks, Branden. Applied.

Cheers,

Michael


On 10/21/2017 10:21 PM, G. Branden Robinson wrote:
> diff --git a/man3/pthread_spin_init.3 b/man3/pthread_spin_init.3
> index e6cf692d7..3018d804a 100644
> --- a/man3/pthread_spin_init.3
> +++ b/man3/pthread_spin_init.3
> @@ -30,7 +30,7 @@ pthread_spin_init, pthread_spin_destroy \- initialize or destroy a spin lock
>  .B #include <pthread.h>
>  .PP
>  .BI "int pthread_spin_init(pthread_spinlock_t *" lock " int " pshared ");"
> -.BI "int pthread_spin_destroy(pthread_spinlock_t *" cock ");"
> +.BI "int pthread_spin_destroy(pthread_spinlock_t *" lock ");"
>  .fi
>  .PP
>  Compile and link with \fI\-pthread\fP.
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-22  5:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-21 20:21 pthread_spin_init(3): tfix G. Branden Robinson
     [not found] ` <20171021202128.njpgppyvcjpenbos-Z0uaYDh/Ni4SozaZsD9aTtHuzzzSOjJt@public.gmane.org>
2017-10-22  5:51   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).