Bug 173383 - sem_wait man page error
Summary: sem_wait man page error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: glibc
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-16 20:15 UTC by Eric Desjardins
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-16 22:57:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eric Desjardins 2005-11-16 20:15:16 UTC
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:
Always

Steps to Reproduce:
1. man sem_wait
2.
3.
  

Additional info:

Comment 1 Jakub Jelinek 2005-11-16 22:57:33 UTC
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.