docs/125043: man page for strerror references wrong header file

roam at FreeBSD.org roam at FreeBSD.org
Fri Jun 27 13:25:48 UTC 2008


Synopsis: man page for strerror references wrong header file

State-Changed-From-To: open->closed
State-Changed-By: roam
State-Changed-When: Fri Jun 27 13:21:37 UTC 2008
State-Changed-Why: 
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!

http://www.freebsd.org/cgi/query-pr.cgi?pr=125043



More information about the freebsd-doc mailing list