svn commit: r234963 - stable/9/lib/libc/gen
Eitan Adler
eadler at FreeBSD.org
Thu May 3 16:19:42 UTC 2012
Author: eadler
Date: Thu May 3 16:19:41 2012
New Revision: 234963
URL: http://svn.freebsd.org/changeset/base/234963
Log:
MFC r234714, r234700:
Document the standardization status of err* and warn*
PR: docs/164939
Approved by: cperciva (implicit)
Modified:
stable/9/lib/libc/gen/err.3
Directory Properties:
stable/9/lib/libc/ (props changed)
Modified: stable/9/lib/libc/gen/err.3
==============================================================================
--- stable/9/lib/libc/gen/err.3 Thu May 3 16:09:44 2012 (r234962)
+++ stable/9/lib/libc/gen/err.3 Thu May 3 16:19:41 2012 (r234963)
@@ -28,7 +28,7 @@
.\" From: @(#)err.3 8.1 (Berkeley) 6/9/93
.\" $FreeBSD$
.\"
-.Dd March 6, 1999
+.Dd March 29, 2012
.Dt ERR 3
.Os
.Sh NAME
@@ -212,6 +212,18 @@ if (error != 0)
.Xr printf 3 ,
.Xr strerror 3 ,
.Xr sysexits 3
+.Sh STANDARDS
+The
+.Fn err
+and
+.Fn warn
+families of functions are
+.Bx
+extensions.
+As such they should not be used in truly portable code.
+Use
+.Fn strerror
+or similar functions instead.
.Sh HISTORY
The
.Fn err
More information about the svn-src-stable-9
mailing list