From tim@robbins.dropbear.id.au  Wed Feb 27 18:47:27 2002
Return-Path: <tim@robbins.dropbear.id.au>
Received: from descent.robbins.dropbear.id.au (181.b.007.mel.iprimus.net.au [210.50.81.181])
	by hub.freebsd.org (Postfix) with ESMTP id 0BACD37B417
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 Feb 2002 18:47:23 -0800 (PST)
Received: (from tim@localhost)
	by descent.robbins.dropbear.id.au (8.11.6/8.11.6) id g1S2RkS85932;
	Thu, 28 Feb 2002 13:27:46 +1100 (EST)
	(envelope-from tim)
Message-Id: <200202280227.g1S2RkS85932@descent.robbins.dropbear.id.au>
Date: Thu, 28 Feb 2002 13:27:46 +1100 (EST)
From: "Tim J. Robbins" <tim@robbins.dropbear.id.au>
Reply-To: "Tim J. Robbins" <tim@robbins.dropbear.id.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Patch to add STANDARDS section to strerror(3)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35393
>Category:       bin
>Synopsis:       Patch to add STANDARDS section to strerror(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tjr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 27 18:50:00 PST 2002
>Closed-Date:    Mon Nov 25 16:05:24 PST 2002
>Last-Modified:  Mon Nov 25 16:05:24 PST 2002
>Originator:     Tim J. Robbins
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD descent.robbins.dropbear.id.au 4.5-STABLE FreeBSD 4.5-STABLE #4: Fri Feb 15 13:31:25 EST 2002 tim@descent.robbins.dropbear.id.au:/usr/obj/usr/src/sys/DESCENT i386


	
>Description:
Almost all the other manual pages for ISO C89 functions state that they
conform to the standard. This patch adds a STANDARDS section to
strerror(3) that states that strerror and perror are ISO C89, and strerror_r
is IEEE P1003.1-2001.
>How-To-Repeat:
Obvious.
>Fix:
Index: strerror.3
===================================================================
RCS file: /home/ncvs/src/lib/libc/string/strerror.3,v
retrieving revision 1.18
diff -u -r1.18 strerror.3
--- strerror.3	2002/01/31 13:32:14	1.18
+++ strerror.3	2002/02/28 02:28:49
@@ -150,6 +150,19 @@
 .Sh SEE ALSO
 .Xr intro 2 ,
 .Xr psignal 3
+.Sh STANDARDS
+The
+.Fn perror
+and
+.Fn strerror
+functions
+conform to
+.St -isoC .
+.Pp
+The
+.Fn strerror_r
+function conforms to
+.St -p1003.1-2001 .
 .Sh HISTORY
 The
 .Fn strerror
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->tjr 
Responsible-Changed-By: tjr 
Responsible-Changed-When: Sun Jun 30 01:19:02 PDT 2002 
Responsible-Changed-Why:  
I will work on this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35393 
State-Changed-From-To: open->closed 
State-Changed-By: tjr 
State-Changed-When: Mon Nov 25 16:04:23 PST 2002 
State-Changed-Why:  
The functions don't actually conform yet. I will fix this after 5.0-RELEASE 
then update the manpage. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35393 
>Unformatted:
