summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/signal.3
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2014-05-23 15:37:23 +0000
committermillert <millert@openbsd.org>2014-05-23 15:37:23 +0000
commitda9d52db9a3d4630ab84d4c7ccb58b1e97dbc656 (patch)
treee53a1137b0f03b23315e53e48610fa8c5c36660b /lib/libc/gen/signal.3
parentA #define to rename another #define which is then used only once introduces (diff)
downloadwireguard-openbsd-da9d52db9a3d4630ab84d4c7ccb58b1e97dbc656.tar.xz
wireguard-openbsd-da9d52db9a3d4630ab84d4c7ccb58b1e97dbc656.zip
Document that v?dprintf() is just as safe as v?snprintf(). OK espie@
Diffstat (limited to 'lib/libc/gen/signal.3')
-rw-r--r--lib/libc/gen/signal.38
1 files changed, 6 insertions, 2 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