[Midnightbsd-cvs] src [9004] trunk/lib/libc/stdio/setbuf.3: add barrier write capability to the VFS buffer interface.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Sep 29 21:37:33 EDT 2016


Revision: 9004
          http://svnweb.midnightbsd.org/src/?rev=9004
Author:   laffer1
Date:     2016-09-29 21:37:33 -0400 (Thu, 29 Sep 2016)
Log Message:
-----------
add barrier write capability to the VFS buffer interface. it is a disk write request that tells the disk that the buffer being written must be committed to the media before future writes.

Modified Paths:
--------------
    trunk/lib/libc/stdio/setbuf.3

Modified: trunk/lib/libc/stdio/setbuf.3
===================================================================
--- trunk/lib/libc/stdio/setbuf.3	2016-09-30 01:36:20 UTC (rev 9003)
+++ trunk/lib/libc/stdio/setbuf.3	2016-09-30 01:37:33 UTC (rev 9004)
@@ -32,7 +32,7 @@
 .\"     @(#)setbuf.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd February 18, 2013
 .Dt SETBUF 3
 .Os
 .Sh NAME
@@ -196,18 +196,5 @@
 conform to
 .St -isoC .
 .Sh BUGS
-The
-.Fn setbuffer
-and
-.Fn setlinebuf
-functions are not portable to versions of
-.Bx
-before
-.Bx 4.2 .
-On
-.Bx 4.2
-and
-.Bx 4.3
-systems,
 .Fn setbuf
-always uses a suboptimal buffer size and should be avoided.
+usually uses a suboptimal buffer size and should be avoided.



More information about the Midnightbsd-cvs mailing list