summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2004-08-24 21:48:21 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2004-08-24 21:48:21 +0000
commit3b28ee84a62a465a6d236f6a1d1ec3cd3b2600bc (patch)
tree77e085185570c044d4f8f47825f6748cfd9ba459
parentb5da7629ece607fad5fd0f563fa5bd066269fa68 (diff)
Notes
-rw-r--r--lib/libc/stdio/setbuf.35
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3
index 0342149d2d16d..9fa1bed3c515d 100644
--- a/lib/libc/stdio/setbuf.3
+++ b/lib/libc/stdio/setbuf.3
@@ -115,6 +115,11 @@ argument should point to a buffer at least
.Fa size
bytes long;
this buffer will be used instead of the current buffer.
+If
+.Fa buf
+is not NULL, it is the caller's responsibility to
+.Xr free 3
+this buffer after closing the stream.
(If the
.Fa size
argument