Date: Thu, 28 Feb 2002 13:27:46 +1100 (EST) From: "Tim J. Robbins" <tim@robbins.dropbear.id.au> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/35393: Patch to add STANDARDS section to strerror(3) Message-ID: <200202280227.g1S2RkS85932@descent.robbins.dropbear.id.au>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202280227.g1S2RkS85932>
