summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2016-06-01 08:32:05 +0000
committerwiz <wiz@NetBSD.org>2016-06-01 08:32:05 +0000
commitf65a1cde2535ca6062b1c7757041ecfc7eb53783 (patch)
tree9e0528c21d3df18ef5d719a00fd5d249cc585ef9 /lib/libc/stdlib
parent3841386df645f4600297b134fcb6298c408f2d78 (diff)
Fix manually applied patch. Mark up NULL with Dv.
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/malloc.314
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index a023f45776f..0a9939884c4 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: malloc.3,v 1.47 2016/06/01 05:40:26 pgoyette Exp $
+.\" $NetBSD: malloc.3,v 1.48 2016/06/01 08:32:05 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -144,11 +144,13 @@ The
.Fn realloc
function always leaves the original buffer intact
when an error occurs.
-+If
-+.Ar size
-+is 0, either NULL or a pointer that can be safely passed to
-+.Xr free 3
-+is returned.
+If
+.Ar size
+is 0, either
+.Dv NULL
+or a pointer that can be safely passed to
+.Xr free 3
+is returned.
.Pp
The
.Fn free