summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-02-18 22:47:59 +0000
committerjilles <jilles@FreeBSD.org>2013-02-18 22:47:59 +0000
commita04bf837da5bbd49529f6f49b699c365aa78cc49 (patch)
tree65eed63b408e4e87f0096c639f250d859f33fa41 /lib/libc/stdio
parent440e93e344cf216ba0881e23efbe17ba83fea837 (diff)
downloadFreeBSD-src-a04bf837da5bbd49529f6f49b699c365aa78cc49.zip
FreeBSD-src-a04bf837da5bbd49529f6f49b699c365aa78cc49.tar.gz
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
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/setbuf.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3
index 337a7c5..d1ae70b 100644
--- a/lib/libc/stdio/setbuf.3
+++ b/lib/libc/stdio/setbuf.3
@@ -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.
OpenPOWER on IntegriCloud