diff options
author | alfred <alfred@FreeBSD.org> | 2004-08-24 21:48:21 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2004-08-24 21:48:21 +0000 |
commit | ae585ca60f3527ae0c38c940db7bd5da57c1bbe3 (patch) | |
tree | 77e085185570c044d4f8f47825f6748cfd9ba459 /lib/libc/stdio/setbuf.3 | |
parent | f57eb31fc50c5a8c7e18d697fbabf3ebc14c538b (diff) | |
download | FreeBSD-src-ae585ca60f3527ae0c38c940db7bd5da57c1bbe3.zip FreeBSD-src-ae585ca60f3527ae0c38c940db7bd5da57c1bbe3.tar.gz |
note that it is the caller's responsibility to free any buffer passed
to setvbuf(3) and friends.
Diffstat (limited to 'lib/libc/stdio/setbuf.3')
-rw-r--r-- | lib/libc/stdio/setbuf.3 | 5 |
1 files changed, 5 insertions, 0 deletions
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 |