Bug 173383

Summary: sem_wait man page error
Product: Red Hat Enterprise Linux 4 Reporter: Eric Desjardins <desjare>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
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-11-16 22:57:33 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 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.