From ae585ca60f3527ae0c38c940db7bd5da57c1bbe3 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 24 Aug 2004 21:48:21 +0000 Subject: note that it is the caller's responsibility to free any buffer passed to setvbuf(3) and friends. --- lib/libc/stdio/setbuf.3 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/libc/stdio') diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3 index 0342149..9fa1bed 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 -- cgit v1.1