Bug 173383 - sem_wait man page error
sem_wait man page error
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: glibc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-11-16 15:15 EST by Eric Desjardins
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-16 17:57:33 EST
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 Eric Desjardins 2005-11-16 15:15:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.7.10) Gecko/20050719 Red Hat/1.0.6-1.4.1 Firefox/1.0.6

Description of problem:
sem_wait man page mention that it always return 0 which is false. It can return -1 and errno can be set to EINTR

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. man sem_wait

Additional info:
Comment 1 Jakub Jelinek 2005-11-16 17:57:33 EST
You are reading the LinuxThreads man page.  And in LinuxThreads, sem_wait can
only return 0.  For NPTL you should look at NPTL/POSIX man pages, for sem_wait
man 3p sem_wait.

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