Bug 153067

Summary: Incorrect number of arguments in pthread_cond_timedwait example
Product: [Fedora] Fedora Reporter: Nigel Horne <njh>
Component: man-pagesAssignee: Jiri Ryska <jryska>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: man-pages-2.05-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-04 14:55:21 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 Nigel Horne 2005-04-01 09:45:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1

Description of problem:
'man pthread_cond_timedwait' includes this code in the EXAMPLE section:

gettimeofday(&now);

But gettimeofday takes 2 arguments.

Version-Release number of selected component (if applicable):
man-pages-1.67-3

How reproducible:
Always

Steps to Reproduce:
1. man pthread_cond_timedwait
2. man gettimeofday
3.
  

Actual Results:  The man page is wrong

Expected Results:  The man page should be right!

Additional info: