summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2014-05-23 15:37:24 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2014-05-23 15:37:24 +0000
commitc16c9f9d56e523deb1c22b1876eef0a8f8e52bdc (patch)
treeb73781323a4b29717aa78721fb3b035cbc1fe586 /lib/libc
parent6c3ec1bcb42c38a6bce8511f7fa4c67e926406ca (diff)
Document that v?dprintf() is just as safe as v?snprintf(). OK espie@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/signal.38
-rw-r--r--lib/libc/sys/sigaction.28
2 files changed, 12 insertions, 4 deletions
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 61d50728334..e46f3607de3 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: signal.3,v 1.43 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: signal.3,v 1.44 2014/05/23 15:37:23 millert Exp $
.\"
.\" Copyright (c) 1980, 1991, 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: January 21 2014 $
+.Dd $Mdocdate: May 23 2014 $
.Dt SIGNAL 3
.Os
.Sh NAME
@@ -442,6 +442,10 @@ except when used with floating-point arguments or directives,
but are probably unsafe on other systems:
.Pp
.Bl -tag -offset indent -compact -width foofoofoofoo
+.It Fn dprintf
+Safe.
+.It Fn vdprintf
+Safe.
.It Fn snprintf
Safe.
.It Fn vsnprintf
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index 76ab2a94cb9..294f86ebf00 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigaction.2,v 1.54 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: sigaction.2,v 1.55 2014/05/23 15:37:23 millert Exp $
.\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)sigaction.2 8.2 (Berkeley) 4/3/94
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: May 23 2014 $
.Dt SIGACTION 2
.Os
.Sh NAME
@@ -671,6 +671,10 @@ except when used with floating-point arguments or directives,
but are probably unsafe on other systems:
.Pp
.Bl -tag -offset indent -compact -width foofoofoofoo
+.It Fn dprintf
+Safe.
+.It Fn vdprintf
+Safe.
.It Fn snprintf
Safe.
.It Fn vsnprintf