summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorBen Smithurst <ben@FreeBSD.org>2001-01-01 05:22:43 +0000
committerBen Smithurst <ben@FreeBSD.org>2001-01-01 05:22:43 +0000
commit797a7236314754463b300ab1e161fd561e72cd61 (patch)
tree8f5d2004dabdb6e83a87237f3a349ad710017a5f /lib/libc/stdio
parentd49676c5f9090f70bfd79cc7a6e901d484ce2a65 (diff)
Notes
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/printf.37
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 5ea5163e31d3..308a1b49cafb 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -123,10 +123,9 @@ used to end output to strings).
.Fn Asprintf
and
.Fn vasprintf
-return a pointer to a buffer sufficiently large to hold the
-string in the
-.Fa ret
-argument;
+set
+.Fa *ret
+to be a pointer to a buffer sufficiently large to hold the formatted string.
This pointer should be passed to
.Xr free 3
to release the allocated storage when it is no longer needed.