linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rp should be ep in PTHREAD_COND_DESTROY(3P)
@ 2015-12-12  9:04 张海
       [not found] ` <CAFwAk1pF_cfbbD_+ao6K1sqZjcVF1Ck+TB=GQmNE6tRcLozCNQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: 张海 @ 2015-12-12  9:04 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

In the EXAMPLES section of PTHREAD_COND_DESTROY(3P), there are the
following piece of code:

(A) pthread_cond_broadcast(&ep->notbusy);
    pthread_mutex_unlock(&lp->lm);
(B) pthread_cond_destroy(&rp->notbusy);

However according to the context, the rp in (B) should be ep, as in
(A), and there are no other occurrence of rp within the page. Key e
and r are close to each other anyway.

I'm referring to a man-pages 4.02-4 on Arch Linux.

(I'm sending this again because vger.kernel.org rejected my previous
email sent from Google Inbox for having HTML content which cannot be
turned off within it.)
--
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:[~2015-12-26  7:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-12  9:04 rp should be ep in PTHREAD_COND_DESTROY(3P) 张海
     [not found] ` <CAFwAk1pF_cfbbD_+ao6K1sqZjcVF1Ck+TB=GQmNE6tRcLozCNQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-26  7:46   ` 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).