On 12/12/2015 10:04 AM, 张海 wrote: > 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.) Thanks. This is a bug in the text of the standard, which apparently has already been fixed: http://austingroupbugs.net/view.php?id=910 I probably won't fix this page, but one day in the future we'll upgrade the 3p pages to latest version from The Open Group. Thanks, Michael -- 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html