summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-09-07 10:28:28 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-09-07 10:28:28 +0000
commit966eb1e7e2cb4dd0cc69a908a943acfbb56b0736 (patch)
treedf85b49979642d45898f616f4aa909c542cf1e78 /lib
parent51f88e7839504fb1b2084759b179a8d06099d5cf (diff)
more Version 1 AT&T UNIX history:
a few cases that weren't altogether straightforward; tweak and OK jmc@, OK sobrado@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/fflush.310
-rw-r--r--lib/libc/sys/brk.216
2 files changed, 18 insertions, 8 deletions
diff --git a/lib/libc/stdio/fflush.3 b/lib/libc/stdio/fflush.3
index e8e2f990b3d..677d087c817 100644
--- a/lib/libc/stdio/fflush.3
+++ b/lib/libc/stdio/fflush.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fflush.3,v 1.12 2015/11/04 21:30:13 tedu Exp $
+.\" $OpenBSD: fflush.3,v 1.13 2019/09/07 10:28:27 schwarze Exp $
.\"
.\" Copyright (c) 1990, 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 4 2015 $
+.Dd $Mdocdate: September 7 2019 $
.Dt FFLUSH 3
.Os
.Sh NAME
@@ -104,7 +104,11 @@ The
function conforms to
.St -ansiC .
.Sh HISTORY
+A predecessor
+.Fn flush
+first appeared in
+.At v1 .
The
.Fn fflush
function first appeared in
-.At v7 .
+.At v4 .
diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2
index 96d827611ec..73fc74a5732 100644
--- a/lib/libc/sys/brk.2
+++ b/lib/libc/sys/brk.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: brk.2,v 1.22 2015/10/11 07:53:49 guenther Exp $
+.\" $OpenBSD: brk.2,v 1.23 2019/09/07 10:28:27 schwarze Exp $
.\" $NetBSD: brk.2,v 1.7 1995/02/27 12:31:57 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)brk.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: October 11 2015 $
+.Dd $Mdocdate: September 7 2019 $
.Dt BRK 2
.Os
.Sh NAME
@@ -135,10 +135,16 @@ to support the expansion.
.Xr end 3 ,
.Xr malloc 3
.Sh HISTORY
-A
+A predecessor
+.Fn break
+appeared in
+.At v1 .
+The
.Fn brk
-function call appeared in
-.At v7 .
+and
+.Fn sbrk
+function calls first appeared in
+.At v6 .
.Sh BUGS
Setting the break may fail due to a temporary lack of swap space.
It is not possible to distinguish this from a failure caused by exceeding