From owner-freebsd-bugs Wed Feb 27 18:50: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8C44937B402 for ; Wed, 27 Feb 2002 18:50:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1S2o0b64773; Wed, 27 Feb 2002 18:50:00 -0800 (PST) (envelope-from gnats) 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 ; 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" Reply-To: "Tim J. Robbins" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/35393: Patch to add STANDARDS section to strerror(3) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35393 >Category: bin >Synopsis: Patch to add STANDARDS section to strerror(3) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 27 18:50:00 PST 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message