diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3 index 0342149d2d16..9fa1bed3c515 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