Bug 125043

Summary: man page for strerror references wrong header file
Product: Documentation Reporter: Pete French <petefrench>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Pete French 2008-06-27 13:40:03 UTC
	'man strerror' says to include 'stdio.h' but the function is
	actually in 'string.h'
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2008-06-27 14:21:37 UTC
State Changed
From-To: open->closed

Actually, the manual page is correct - it simply documents more than one 
C library function :)  The <stdio.h> include is before the documentation 
for the perror() function, which is indeed declared there.  Further down, 
just before the prototype of strerror(), there *is* a "#include <string.h>" 
line in the manual page, isn't there? :) 

Even so, thanks for your efforts to make FreeBSD better by reporting 
what appeared to be a problem with the documentation!