aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1999-07-25 17:38:59 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1999-07-25 17:38:59 +0000
commit6a8e2895aa630011ca88f63ea2aa5e4cecf00991 (patch)
tree1536e946b576492f12291fe32ea321f8fd4560c0 /lib/libc
parenta7674320e9ffd10f7e645755e71636ef0b450235 (diff)
downloadsrc-6a8e2895aa630011ca88f63ea2aa5e4cecf00991.tar.gz
src-6a8e2895aa630011ca88f63ea2aa5e4cecf00991.zip
asprintf() does use realloc() internally, but saying so in the manpage can be
misinterpreted to mean that the pointer passed to asprintf() must be suitable for passing to realloc() as-is (ie. either a NULL pointer or a valid pointer).
Notes
Notes: svn path=/head/; revision=49082
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/printf.36
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 8b4022386581..d34d0000292b 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
-.\" $Id$
+.\" $Id: printf.3,v 1.11 1999/07/12 20:47:33 nik Exp $
.\"
.Dd June 4, 1993
.Dt PRINTF 3
@@ -103,9 +103,7 @@ and
and
.Fn vasprintf
dynamically allocate a new string with
-.Xr malloc 3
-/
-.Xr realloc 3 .
+.Xr malloc 3 .
.Pp
These functions write the output under the control of a
.Fa format