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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html