Bug 159084 - man page claims erroneously that sigwait doesn't return any errors
man page claims erroneously that sigwait doesn't return any errors
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-05-29 01:40 EDT by Jonathan Kamens
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-30 05:31:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Kamens 2005-05-29 01:40:23 EDT
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 05:31:15 EDT
Fixed by removing all linuxthreads man pages except those that aren't covered
in 3p section.
Will show up in next glibc build.

Note You need to log in before you can comment on or make changes to this bug.