diff options
author | eadler <eadler@FreeBSD.org> | 2012-04-26 12:59:08 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-04-26 12:59:08 +0000 |
commit | 44fc4ead693dba9caa34c3dcdc548e293bf9e2ff (patch) | |
tree | 8e5d28f8912262a726e7c6cc5387c3e9e00d8b89 /lib/libc | |
parent | a88e020390af56b1cdbe9d35ca906af634af5951 (diff) | |
download | FreeBSD-src-44fc4ead693dba9caa34c3dcdc548e293bf9e2ff.zip FreeBSD-src-44fc4ead693dba9caa34c3dcdc548e293bf9e2ff.tar.gz |
Document the standardization status of err* and warn*
PR: docs/164939
Submitted by: Niclas Zeising <zeising@daemonic.se>
Approved by: bcr
MFC after: 3 days
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/err.3 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3 index 4871bcc..f9fcdaf 100644 --- a/lib/libc/gen/err.3 +++ b/lib/libc/gen/err.3 @@ -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,16 @@ if (error != 0) .Xr printf 3 , .Xr strerror 3 , .Xr sysexits 3 +.Sh STANDARDS +The +.Fn err +and +.Fn warn +families of functions are BSD extensions. +As such they should not be used in truly portable code. +Use +.Fn strerror +or similar functions instead. .Sh HISTORY The .Fn err |