Bug 12994

Summary: Update to getopt.3 to agree with style.9
Product: Documentation Reporter: howardjp <howardjp>
Component: Books & ArticlesAssignee: hoek
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description howardjp 1999-08-06 01:00:06 UTC
Getopt(3) stated that the proper way to handle converting a number
in a command line to a usable int was via atoi(3).  Style(9) says
you should use strtol(3).  Apply the diff to getopt.3 in 
/usr/src/lib/libc/stdlib/ to synchronise it with style(9).

How-To-Repeat: 
man 3 getopt
man style
Comment 1 hoek freebsd_committer freebsd_triage 1999-08-06 07:15:28 UTC
Responsible Changed
From-To: freebsd-doc->hoek

James warned me about this...  :-) 
Comment 2 hoek freebsd_committer freebsd_triage 2000-01-06 01:22:26 UTC
State Changed
From-To: open->closed

Somewhat modified patch applied in r.1.11 of getopt.3. 

Thanks!