summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-11-26 18:16:32 +0000
committerschwarze <schwarze@openbsd.org>2014-11-26 18:16:32 +0000
commit9b2cf4617be7a322f4fc27306fcd900b60259059 (patch)
treee2f16aa78760c216507e7b595010b62ce522afd9 /lib/libc
parent'ifi' is successfully calloc'd during initialization or dhclient (diff)
downloadwireguard-openbsd-9b2cf4617be7a322f4fc27306fcd900b60259059.tar.xz
wireguard-openbsd-9b2cf4617be7a322f4fc27306fcd900b60259059.zip
garbage collect .Tn
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/setvbuf.312
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/libc/stdio/setvbuf.3 b/lib/libc/stdio/setvbuf.3
index 98f69b775f3..83d1e056b69 100644
--- a/lib/libc/stdio/setvbuf.3
+++ b/lib/libc/stdio/setvbuf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setvbuf.3,v 1.3 2014/11/25 22:37:43 jmc Exp $
+.\" $OpenBSD: setvbuf.3,v 1.4 2014/11/26 18:16:32 schwarze Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 25 2014 $
+.Dd $Mdocdate: November 26 2014 $
.Dt SETVBUF 3
.Os
.Sh NAME
@@ -58,9 +58,7 @@ The
function may be used to force the block out early.
.Pp
Normally, all files are block buffered.
-When the first
-.Tn I/O
-operation occurs on a file,
+When the first I/O operation occurs on a file,
.Xr malloc 3
is called,
and an optimally sized buffer is obtained.
@@ -121,9 +119,7 @@ but may have peculiar side effects
if the stream is
.Dq active .
Portable applications should call it only once on any given stream,
-and before any
-.Tn I/O
-is performed.
+and before any I/O is performed.
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned.
If