summaryrefslogtreecommitdiff
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
parent51f88e7839504fb1b2084759b179a8d06099d5cf (diff)
more Version 1 AT&T UNIX history:
a few cases that weren't altogether straightforward; tweak and OK jmc@, OK sobrado@
-rw-r--r--lib/libc/stdio/fflush.310
-rw-r--r--lib/libc/sys/brk.216
-rw-r--r--share/man/man4/tty.410
-rw-r--r--share/man/man5/dir.512
-rw-r--r--usr.bin/stat/stat.112
5 files changed, 45 insertions, 15 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
diff --git a/share/man/man4/tty.4 b/share/man/man4/tty.4
index bad2500e4d7..de51cc2d5b7 100644
--- a/share/man/man4/tty.4
+++ b/share/man/man4/tty.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tty.4,v 1.52 2018/06/16 18:01:08 deraadt Exp $
+.\" $OpenBSD: tty.4,v 1.53 2019/09/07 10:28:27 schwarze Exp $
.\" $NetBSD: tty.4,v 1.4 1996/03/19 04:26:01 paulus Exp $
.\"
.\" Copyright (c) 1991, 1992, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)tty.4 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: June 16 2018 $
+.Dd $Mdocdate: September 7 2019 $
.Dt TTY 4
.Os
.Sh NAME
@@ -505,4 +505,10 @@ controlling terminal, if any
.Xr ttys 5 ,
.Xr getty 8
.Sh HISTORY
+A console typewriter device
+.Pa /dev/tty
+and asynchronous communication interfaces
+.Pa /dev/tty[0-5]
+first appeared in
+.At v1 .
The cua support is inspired by similar support in SunOS.
diff --git a/share/man/man5/dir.5 b/share/man/man5/dir.5
index 05ba4b748cb..78b0fdfa1e0 100644
--- a/share/man/man5/dir.5
+++ b/share/man/man5/dir.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dir.5,v 1.19 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: dir.5,v 1.20 2019/09/07 10:28:27 schwarze Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)dir.5 8.4 (Berkeley) 5/3/95
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: September 7 2019 $
.Dt DIR 5
.Os
.Sh NAME
@@ -111,8 +111,16 @@ struct dirent {
A
.Nm dir
file format appeared in
+.At v1 .
+A predecessor
+.Vt struct direct
+first appeared in
.At v7 .
The
+.Vt dirent
+structure first appeared in
+.Bx 4.3 Reno .
+The
.Fa d_off
member was added in
.Ox 5.5 .
diff --git a/usr.bin/stat/stat.1 b/usr.bin/stat/stat.1
index a1100da673f..2da237ae97d 100644
--- a/usr.bin/stat/stat.1
+++ b/usr.bin/stat/stat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stat.1,v 1.23 2018/03/16 16:58:26 schwarze Exp $
+.\" $OpenBSD: stat.1,v 1.24 2019/09/07 10:28:27 schwarze Exp $
.\" $NetBSD: stat.1,v 1.11 2003/05/08 13:07:10 wiz Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 16 2018 $
+.Dd $Mdocdate: September 7 2019 $
.Dt STAT 1
.Os
.Sh NAME
@@ -474,9 +474,15 @@ Apr 24 16:47:35 2002 /tmp/foo
.Xr printf 3 ,
.Xr strftime 3
.Sh HISTORY
-The
+A
.Nm
utility first appeared in
+.At v1
+but disappeared after
+.At v4 .
+It reappeared in
+.Nx 1.6
+and has been available since
.Ox 3.8 .
.Sh AUTHORS
.An -nosplit