]> git.saurik.com Git - apple/libc.git/blobdiff - stdio/FreeBSD/setbuf.3
Libc-763.11.tar.gz
[apple/libc.git] / stdio / FreeBSD / setbuf.3
index 37055a73196f7a92662db65c3ad76db74faf878a..8f4ef0a29e67deaa4372b8976fa55cc0adc30192 100644 (file)
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\"    must display the following acknowledgement:
-.\"    This product includes software developed by the University of
-.\"    California, Berkeley and its contributors.
 .\" 4. Neither the name of the University nor the names of its contributors
 .\"    may be used to endorse or promote products derived from this software
 .\"    without specific prior written permission.
@@ -34,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)setbuf.3   8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/stdio/setbuf.3,v 1.14 2002/12/19 09:40:24 ru Exp $
+.\" $FreeBSD: src/lib/libc/stdio/setbuf.3,v 1.17 2007/01/09 00:28:07 imp Exp $
 .\"
 .Dd June 4, 1993
 .Dt SETBUF 3
@@ -115,6 +111,13 @@ 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
+.Dv NULL ,
+it is the caller's responsibility to
+.Xr free 3
+this buffer after closing the stream.
 (If the
 .Fa size
 argument