From: schwarze Date: Wed, 23 Apr 2014 13:58:55 +0000 (+0000) Subject: more info about HISTORY; ok jmc@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=592335dfc55383d9f0d904ce23a77ade6315a6d6;p=openbsd more info about HISTORY; ok jmc@ --- diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3 index d5b473da627..22628658ded 100644 --- a/lib/libc/gen/err.3 +++ b/lib/libc/gen/err.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: err.3,v 1.18 2014/04/22 00:33:02 guenther Exp $ +.\" $OpenBSD: err.3,v 1.19 2014/04/23 13:58:55 schwarze Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: April 22 2014 $ +.Dd $Mdocdate: April 23 2014 $ .Dt ERR 3 .Os .Sh NAME @@ -190,12 +190,28 @@ if ((fd = open(block_device, O_RDONLY, 0)) == -1) .Xr printf 3 , .Xr strerror 3 .Sh HISTORY -The -.Fn err +The functions +.Fn err , +.Fn errx , +.Fn verr, +.Fn verrx , +.Fn warn , +.Fn warnx , +.Fn vwarn , and -.Fn warn -functions first appeared in +.Fn vwarnx +first appeared in .Bx 4.4 . +The functions +.Fn errc , +.Fn verrc, +.Fn warnc , +and +.Fn vwarnc +functions first appeared in +.Fx 3.0 +and have been ported to +.Ox 5.6 . .Sh CAVEATS It is important never to pass a string with user-supplied data as a format without using