From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: typo in man pthread_sigqueue Date: Fri, 13 Sep 2013 05:49:18 +0200 Message-ID: <52328B3E.9090800@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andrew Hunter Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org On 12.09.2013 23:40, Andrew Hunter wrote: > The type of pthread_sigqueue is reported in the manpage (both online > and in any package I can find) as > > int pthread_sigqueue(pthread_t *thread, int sig, > const union sigval value); > > I believe this is incorrect; thread is a pthread_t, not a pthread_t*. > This can be easily verified by looking at the source: > http://www.eglibc.org/cgi-bin/viewvc.cgi/trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c?view=markup > > (Or just by noting that throughout pthreads, pthread_ts are passed by > value. The only other pthread_t * that comes to mind is the one > initialized by pthread_create.) > > I'd send a patch myself but I'm not clear where the manpages sources > are and don't have time to go searching right now--my apologies. Thanks for the report, Andrew. Fixed now. Cheers, Michael -- 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