diff options
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r-- | lib/libc/stdio/printf.3 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 5ea5163..308a1b4 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. |