Bug 159084

Summary: man page claims erroneously that sigwait doesn't return any errors
Product: [Fedora] Fedora Reporter: Jonathan Kamens <jik>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-30 09:31:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Kamens 2005-05-29 05:40:23 UTC
The man page for the sigwait function, i.e., pthread_signal(3), which is in the
glibc-devel package, claims, "The sigwait function never returns an error." 
This is simply not true, as a quick glance at
linuxthreads/sysdeps/unix/sysv/linux/sigwait.c will prove.  A further glance at
kernel/signal.c in the kernel sources will give you an indication of what errors
sigwait can, in fact, return.

Comment 1 Jakub Jelinek 2005-05-30 09:31:15 UTC
Fixed by removing all linuxthreads man pages except those that aren't covered
in 3p section.
http://sources.redhat.com/ml/glibc-cvs/2005-q2/msg00360.html
Will show up in next glibc build.