svn commit: r246952 - head/lib/libc/stdio
Jilles Tjoelker
jilles at FreeBSD.org
Mon Feb 18 22:48:00 UTC 2013
Author: jilles
Date: Mon Feb 18 22:47:59 2013
New Revision: 246952
URL: http://svnweb.freebsd.org/changeset/base/246952
Log:
setbuf(3): Restore a BUGS section about setbuf().
The brokenness of setbuf() is not specific to 4.2BSD and 4.3BSD but inherent
in the API definition.
Reported by: bde
Modified:
head/lib/libc/stdio/setbuf.3
Modified: head/lib/libc/stdio/setbuf.3
==============================================================================
--- head/lib/libc/stdio/setbuf.3 Mon Feb 18 22:47:16 2013 (r246951)
+++ head/lib/libc/stdio/setbuf.3 Mon Feb 18 22:47:59 2013 (r246952)
@@ -32,7 +32,7 @@
.\" @(#)setbuf.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd February 15, 2013
+.Dd February 18, 2013
.Dt SETBUF 3
.Os
.Sh NAME
@@ -195,3 +195,6 @@ and
functions
conform to
.St -isoC .
+.Sh BUGS
+.Fn setbuf
+usually uses a suboptimal buffer size and should be avoided.
More information about the svn-src-head
mailing list