Re: typo in man pthread_sigqueue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux