Module Name: src
Committed By: martin
Date: Thu Sep 5 08:19:43 UTC 2019
Modified Files:
src/games/bcd [netbsd-9]: bcd.6
src/lib/libc/compat-43 [netbsd-9]: creat.3
src/lib/libc/gen [netbsd-9]: exec.3
src/lib/libc/stdio [netbsd-9]: fopen.3 getc.3 putc.3
src/lib/libc/stdlib [netbsd-9]: exit.3
src/lib/libc/sys [netbsd-9]: chdir.2 chmod.2 chown.2 close.2 fork.2
getuid.2 link.2 lseek.2 mkdir.2 mount.2 open.2 read.2 setuid.2
stat.2 unlink.2 wait.2 write.2
src/lib/libc/time [netbsd-9]: ctime.3
src/lib/libcompat/4.1 [netbsd-9]: stty.3
src/lib/libm/man [netbsd-9]: cos.3 exp.3 log.3 sin.3
src/sbin/init [netbsd-9]: init.8
src/share/man/man5 [netbsd-9]: passwd.5 utmp.5
src/share/man/man9 [netbsd-9]: copy.9 intro.9 uiomove.9
src/usr.bin/dc [netbsd-9]: dc.1
src/usr.bin/du [netbsd-9]: du.1
src/usr.bin/mail [netbsd-9]: mail.1
src/usr.bin/mesg [netbsd-9]: mesg.1
src/usr.bin/pr [netbsd-9]: pr.1
src/usr.bin/sort [netbsd-9]: sort.1
src/usr.bin/su [netbsd-9]: su.1
src/usr.bin/tty [netbsd-9]: tty.1
src/usr.bin/wc [netbsd-9]: wc.1
src/usr.bin/who [netbsd-9]: who.1
src/usr.bin/write [netbsd-9]: write.1
Log Message:
Pull up following revision(s) (requested by sevan in ticket #174):
lib/libc/sys/chmod.2: revision 1.48
lib/libc/sys/stat.2: revision 1.59
lib/libc/sys/unlink.2: revision 1.30
lib/libc/sys/lseek.2: revision 1.25
lib/libc/sys/getuid.2: revision 1.18
lib/libc/sys/chown.2: revision 1.37
lib/libm/man/exp.3: revision 1.32
lib/libm/man/log.3: revision 1.7
lib/libc/sys/open.2: revision 1.60
lib/libc/stdio/fopen.3: revision 1.36
lib/libc/stdio/putc.3: revision 1.14
lib/libc/sys/mount.2: revision 1.51
share/man/man9/copy.9: revision 1.22
share/man/man9/uiomove.9: revision 1.20
lib/libc/sys/setuid.2: revision 1.23
lib/libc/sys/close.2: revision 1.18
sbin/init/init.8: revision 1.61
lib/libc/sys/write.2: revision 1.36
lib/libc/sys/read.2: revision 1.39
sbin/init/init.8: revision 1.62
lib/libc/sys/wait.2: revision 1.40
usr.bin/tty/tty.1: revision 1.10
lib/libc/sys/link.2: revision 1.33
usr.bin/du/du.1: revision 1.24
lib/libc/stdlib/exit.3: revision 1.17
usr.bin/su/su.1: revision 1.53
usr.bin/mail/mail.1: revision 1.66
lib/libc/sys/fork.2: revision 1.25
usr.bin/su/su.1: revision 1.54
usr.bin/mail/mail.1: revision 1.67
lib/libm/man/sin.3: revision 1.15
share/man/man9/intro.9: revision 1.26
share/man/man5/utmp.5: revision 1.17
lib/libc/compat-43/creat.3: revision 1.17
lib/libc/time/ctime.3: revision 1.61
lib/libcompat/4.1/stty.3: revision 1.10
usr.bin/dc/dc.1: revision 1.3
lib/libm/man/cos.3: revision 1.17
lib/libc/sys/chdir.2: revision 1.23
lib/libc/gen/exec.3: revision 1.30
lib/libc/gen/exec.3: revision 1.31
games/bcd/bcd.6: revision 1.18
games/bcd/bcd.6: revision 1.19
usr.bin/write/write.1: revision 1.7
usr.bin/wc/wc.1: revision 1.18
usr.bin/pr/pr.1: revision 1.24
usr.bin/who/who.1: revision 1.25
lib/libc/sys/mkdir.2: revision 1.30
lib/libc/stdio/getc.3: revision 1.13
usr.bin/sort/sort.1: revision 1.40
usr.bin/mesg/mesg.1: revision 1.11
share/man/man5/passwd.5: revision 1.34
sort was there since v1
https://www.bell-labs.com/usr/dmr/www/man61.pdf
dc was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf
du was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf
mail was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf
mesg was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf
Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf
su was in v1
https://www.bell-labs.com/usr/dmr/www/man13.pdf
Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf
Document history
https://www.bell-labs.com/usr/dmr/www/man14.pdf
Update URL
write was in v1
https://www.bell-labs.com/usr/dmr/www/man14.pdf
grammar
passwd(5) was in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf
utmp(5) was present in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf
Earliest version of wtmp I could find was in v3
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5
Document history of chdir(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history of chmod(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history of chown(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf
create was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history of exec()
Move statement on execlpe() & execvpe() to HISTORY section.
Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf
fork was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
stat() was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
document history of fstat()
https://www.bell-labs.com/usr/dmr/www/man21.pdf
getuid was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf
stty & gtty were around since v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
https://www.bell-labs.com/usr/dmr/www/man22.pdf
mount & umount were present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
Open was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
read was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
seek was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
setuid was in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
unlink was presen in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
wait was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
write was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
start documenting history
exp was present in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf
Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf
Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf
log appeared in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf
putc & putw were in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf
putchar was in v4
https://minie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/putchr.3
Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf
Document history.
https://www.bell-labs.com/usr/dmr/www/man11.pdf
Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which
version,
hence I've skipped mentioning it.
End sentence with a dot.
Remove superfluous Pp.
Remove superfluous Pp.
Remove superfluous Ns.
Remove superfluous Pp.
fetch(9) -> ufetch(9)
fetch(9) -> ufetch(9). Remove superfluous Pp.
fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9).
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.17.6.1 src/games/bcd/bcd.6
cvs rdiff -u -r1.16 -r1.16.100.1 src/lib/libc/compat-43/creat.3
cvs rdiff -u -r1.29 -r1.29.6.1 src/lib/libc/gen/exec.3
cvs rdiff -u -r1.35 -r1.35.6.1 src/lib/libc/stdio/fopen.3
cvs rdiff -u -r1.12 -r1.12.100.1 src/lib/libc/stdio/getc.3
cvs rdiff -u -r1.13 -r1.13.14.1 src/lib/libc/stdio/putc.3
cvs rdiff -u -r1.16 -r1.16.30.1 src/lib/libc/stdlib/exit.3
cvs rdiff -u -r1.22 -r1.22.32.1 src/lib/libc/sys/chdir.2
cvs rdiff -u -r1.47 -r1.47.28.1 src/lib/libc/sys/chmod.2
cvs rdiff -u -r1.36 -r1.36.28.1 src/lib/libc/sys/chown.2
cvs rdiff -u -r1.17 -r1.17.94.1 src/lib/libc/sys/close.2
cvs rdiff -u -r1.24 -r1.24.18.1 src/lib/libc/sys/fork.2
cvs rdiff -u -r1.17 -r1.17.48.1 src/lib/libc/sys/getuid.2
cvs rdiff -u -r1.32 -r1.32.28.1 src/lib/libc/sys/link.2
cvs rdiff -u -r1.24 -r1.24.48.1 src/lib/libc/sys/lseek.2
cvs rdiff -u -r1.29 -r1.29.28.1 src/lib/libc/sys/mkdir.2
cvs rdiff -u -r1.50 -r1.50.12.1 src/lib/libc/sys/mount.2
cvs rdiff -u -r1.59 -r1.59.6.1 src/lib/libc/sys/open.2
cvs rdiff -u -r1.36 -r1.36.8.1 src/lib/libc/sys/read.2
cvs rdiff -u -r1.22 -r1.22.48.1 src/lib/libc/sys/setuid.2
cvs rdiff -u -r1.58 -r1.58.14.1 src/lib/libc/sys/stat.2
cvs rdiff -u -r1.29 -r1.29.14.1 src/lib/libc/sys/unlink.2
cvs rdiff -u -r1.39 -r1.39.16.1 src/lib/libc/sys/wait.2
cvs rdiff -u -r1.35 -r1.35.8.1 src/lib/libc/sys/write.2
cvs rdiff -u -r1.60 -r1.60.2.1 src/lib/libc/time/ctime.3
cvs rdiff -u -r1.9 -r1.9.98.1 src/lib/libcompat/4.1/stty.3
cvs rdiff -u -r1.16 -r1.16.2.1 src/lib/libm/man/cos.3
cvs rdiff -u -r1.31 -r1.31.14.1 src/lib/libm/man/exp.3
cvs rdiff -u -r1.6 -r1.6.8.1 src/lib/libm/man/log.3
cvs rdiff -u -r1.14 -r1.14.98.1 src/lib/libm/man/sin.3
cvs rdiff -u -r1.60 -r1.60.16.1 src/sbin/init/init.8
cvs rdiff -u -r1.33 -r1.33.8.1 src/share/man/man5/passwd.5
cvs rdiff -u -r1.16 -r1.16.48.1 src/share/man/man5/utmp.5
cvs rdiff -u -r1.20.6.1 -r1.20.6.2 src/share/man/man9/copy.9
cvs rdiff -u -r1.24.2.1 -r1.24.2.2 src/share/man/man9/intro.9
cvs rdiff -u -r1.18.8.1 -r1.18.8.2 src/share/man/man9/uiomove.9
cvs rdiff -u -r1.2 -r1.2.18.1 src/usr.bin/dc/dc.1
cvs rdiff -u -r1.23 -r1.23.34.1 src/usr.bin/du/du.1
cvs rdiff -u -r1.65 -r1.65.2.1 src/usr.bin/mail/mail.1
cvs rdiff -u -r1.10 -r1.10.8.1 src/usr.bin/mesg/mesg.1
cvs rdiff -u -r1.23 -r1.23.8.1 src/usr.bin/pr/pr.1
cvs rdiff -u -r1.39 -r1.39.2.1 src/usr.bin/sort/sort.1
cvs rdiff -u -r1.52 -r1.52.12.1 src/usr.bin/su/su.1
cvs rdiff -u -r1.9 -r1.9.8.1 src/usr.bin/tty/tty.1
cvs rdiff -u -r1.17 -r1.17.8.1 src/usr.bin/wc/wc.1
cvs rdiff -u -r1.24 -r1.24.4.1 src/usr.bin/who/who.1
cvs rdiff -u -r1.6 -r1.6.100.1 src/usr.bin/write/write.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/bcd/bcd.6
diff -u src/games/bcd/bcd.6:1.17 src/games/bcd/bcd.6:1.17.6.1
--- src/games/bcd/bcd.6:1.17 Tue Jan 16 06:43:53 2018
+++ src/games/bcd/bcd.6 Thu Sep 5 08:19:42 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: bcd.6,v 1.17 2018/01/16 06:43:53 pgoyette Exp $
+.\" $NetBSD: bcd.6,v 1.17.6.1 2019/09/05 08:19:42 martin Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)bcd.6 8.1 (Berkeley) 5/31/93
.\"
-.Dd January 9, 2018
+.Dd September 1, 2019
.Dt BCD 6
.Os
.Sh NAME
@@ -83,3 +83,10 @@ option).
.%B "ITU-T Recommendation F.1: Operational provisions for the international public telegram service"
.%O "Division B, I. Morse code"
.Re
+.Sh HISTORY
+A
+.Nm bcd
+utility appeared in
+.At v1 .
+The current implementation originates from a rewrite included in
+.Bx 4.3 reno .
Index: src/lib/libc/compat-43/creat.3
diff -u src/lib/libc/compat-43/creat.3:1.16 src/lib/libc/compat-43/creat.3:1.16.100.1
--- src/lib/libc/compat-43/creat.3:1.16 Thu Aug 7 16:42:39 2003
+++ src/lib/libc/compat-43/creat.3 Thu Sep 5 08:19:42 2019
@@ -26,9 +26,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)creat.2 8.1 (Berkeley) 6/2/93
-.\" $NetBSD: creat.3,v 1.16 2003/08/07 16:42:39 agc Exp $
+.\" $NetBSD: creat.3,v 1.16.100.1 2019/09/05 08:19:42 martin Exp $
.\"
-.Dd June 2, 1993
+.Dd September 1, 2019
.Dt CREAT 3
.Os
.Sh NAME
@@ -62,4 +62,4 @@ function call conforms to
The
.Fn creat
function call appeared in
-.At v6 .
+.At v1 .
Index: src/lib/libc/gen/exec.3
diff -u src/lib/libc/gen/exec.3:1.29 src/lib/libc/gen/exec.3:1.29.6.1
--- src/lib/libc/gen/exec.3:1.29 Mon Sep 18 08:48:23 2017
+++ src/lib/libc/gen/exec.3 Thu Sep 5 08:19:42 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: exec.3,v 1.29 2017/09/18 08:48:23 wiz Exp $
+.\" $NetBSD: exec.3,v 1.29.6.1 2019/09/05 08:19:42 martin Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)exec.3 8.3 (Berkeley) 1/24/94
.\"
-.Dd September 26, 2014
+.Dd September 1, 2019
.Dt EXEC 3
.Os
.Sh NAME
@@ -278,7 +278,11 @@ and
.Fn execvp
conform to
.St -p1003.1-90 .
-.Pp
+.Sh HISTORY
+The
+.Fn exec
+function appeared in
+.At v1 .
The
.Fn execlpe
function appeared first in QNX and the
Index: src/lib/libc/stdio/fopen.3
diff -u src/lib/libc/stdio/fopen.3:1.35 src/lib/libc/stdio/fopen.3:1.35.6.1
--- src/lib/libc/stdio/fopen.3:1.35 Sat Nov 4 08:53:23 2017
+++ src/lib/libc/stdio/fopen.3 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: fopen.3,v 1.35 2017/11/04 08:53:23 kre Exp $
+.\" $NetBSD: fopen.3,v 1.35.6.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)fopen.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd November 3, 2017
+.Dd September 2, 2019
.Dt FOPEN 3
.Os
.Sh NAME
@@ -298,6 +298,11 @@ functions conform to
.St -ansiC .
All three functions are specified in
.St -p1003.1-2008 .
+.Sh HISTORY
+An
+.Fn fopen
+function appeared in
+.At v1 .
.Sh CAVEATS
Proper code using
.Fn fdopen
Index: src/lib/libc/stdio/getc.3
diff -u src/lib/libc/stdio/getc.3:1.12 src/lib/libc/stdio/getc.3:1.12.100.1
--- src/lib/libc/stdio/getc.3:1.12 Thu Aug 7 16:43:26 2003
+++ src/lib/libc/stdio/getc.3 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: getc.3,v 1.12 2003/08/07 16:43:26 agc Exp $
+.\" $NetBSD: getc.3,v 1.12.100.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)getc.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd April 25, 2001
+.Dd September 2, 2019
.Dt GETC 3
.Os
.Sh NAME
@@ -154,6 +154,13 @@ and
.Fn getchar_unlocked
functions conform to
.St -p1003.1-96 .
+.Sh HISTORY
+The
+.Fn getc
+and
+.Fn getw
+functions appeared in
+.At v1 .
.Sh BUGS
Since
.Dv EOF
Index: src/lib/libc/stdio/putc.3
diff -u src/lib/libc/stdio/putc.3:1.13 src/lib/libc/stdio/putc.3:1.13.14.1
--- src/lib/libc/stdio/putc.3:1.13 Wed Feb 22 15:08:55 2017
+++ src/lib/libc/stdio/putc.3 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: putc.3,v 1.13 2017/02/22 15:08:55 abhinav Exp $
+.\" $NetBSD: putc.3,v 1.13.14.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)putc.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd May 6, 2010
+.Dd September 2, 2019
.Dt PUTC 3
.Os
.Sh NAME
@@ -152,13 +152,16 @@ and
conform to
.St -p1003.1-96 .
.Sh HISTORY
-The functions
+The
.Fn putc ,
-.Fn putchar ,
and
.Fn putw
-first appeared in
-.At v6 .
+functions first appeared in
+.At v1 .
+The
+.Fn putchar
+function first appeared in
+.At v4 .
The function
.Fn fputc
appeared in
Index: src/lib/libc/stdlib/exit.3
diff -u src/lib/libc/stdlib/exit.3:1.16 src/lib/libc/stdlib/exit.3:1.16.30.1
--- src/lib/libc/stdlib/exit.3:1.16 Fri Apr 26 18:29:55 2013
+++ src/lib/libc/stdlib/exit.3 Thu Sep 5 08:19:41 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: exit.3,v 1.16 2013/04/26 18:29:55 christos Exp $
+.\" $NetBSD: exit.3,v 1.16.30.1 2019/09/05 08:19:41 martin Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" from: @(#)exit.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd January 2, 2012
+.Dd September 1, 2019
.Dt EXIT 3
.Os
.Sh NAME
@@ -109,3 +109,8 @@ The
function
conforms to
.St -ansiC .
+.Sh HISTORY
+The
+.Fn exit
+function appeared in
+.At v1 .
Index: src/lib/libc/sys/chdir.2
diff -u src/lib/libc/sys/chdir.2:1.22 src/lib/libc/sys/chdir.2:1.22.32.1
--- src/lib/libc/sys/chdir.2:1.22 Tue Feb 5 13:36:59 2013
+++ src/lib/libc/sys/chdir.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: chdir.2,v 1.22 2013/02/05 13:36:59 wiz Exp $
+.\" $NetBSD: chdir.2,v 1.22.32.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)chdir.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd February 5, 2013
+.Dd September 1, 2019
.Dt CHDIR 2
.Os
.Sh NAME
@@ -130,6 +130,10 @@ The
function conforms to
.St -p1003.1-90 .
.Sh HISTORY
+A
+.Fn chdir
+function call appeared in
+.At v1 .
The
.Fn fchdir
function call
Index: src/lib/libc/sys/chmod.2
diff -u src/lib/libc/sys/chmod.2:1.47 src/lib/libc/sys/chmod.2:1.47.28.1
--- src/lib/libc/sys/chmod.2:1.47 Tue Oct 15 11:43:21 2013
+++ src/lib/libc/sys/chmod.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: chmod.2,v 1.47 2013/10/15 11:43:21 njoly Exp $
+.\" $NetBSD: chmod.2,v 1.47.28.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)chmod.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd July 29, 2013
+.Dd September 1, 2019
.Dt CHMOD 2
.Os
.Sh NAME
@@ -288,6 +288,10 @@ function conforms to
.St -p1003.1-2008 .
.Sh HISTORY
The
+.Fn chmod
+function call appeared in
+.At v1 .
+The
.Fn fchmod
function call
appeared in
Index: src/lib/libc/sys/chown.2
diff -u src/lib/libc/sys/chown.2:1.36 src/lib/libc/sys/chown.2:1.36.28.1
--- src/lib/libc/sys/chown.2:1.36 Tue Jul 30 12:38:16 2013
+++ src/lib/libc/sys/chown.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: chown.2,v 1.36 2013/07/30 12:38:16 njoly Exp $
+.\" $NetBSD: chown.2,v 1.36.28.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)chown.2 8.4 (Berkeley) 4/19/94
.\"
-.Dd July 30, 2013
+.Dd September 1, 2019
.Dt CHOWN 2
.Os
.Sh NAME
@@ -253,6 +253,10 @@ functions conform to
.El
.Sh HISTORY
The
+.Fn chown
+function call appeared in
+.At v1 .
+The
.Fn fchown
function call appeared in
.Bx 4.2 .
Index: src/lib/libc/sys/close.2
diff -u src/lib/libc/sys/close.2:1.17 src/lib/libc/sys/close.2:1.17.94.1
--- src/lib/libc/sys/close.2:1.17 Tue Jun 1 16:14:10 2004
+++ src/lib/libc/sys/close.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: close.2,v 1.17 2004/06/01 16:14:10 kleink Exp $
+.\" $NetBSD: close.2,v 1.17.94.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)close.2 8.2 (Berkeley) 4/19/94
.\"
-.Dd April 19, 1994
+.Dd September 1, 2019
.Dt CLOSE 2
.Os
.Sh NAME
@@ -130,3 +130,8 @@ The
.Fn close
function conforms to
.St -p1003.1-90 .
+.Sh HISTORY
+The
+.Fn close
+function appeared in
+.At v1 .
Index: src/lib/libc/sys/fork.2
diff -u src/lib/libc/sys/fork.2:1.24 src/lib/libc/sys/fork.2:1.24.18.1
--- src/lib/libc/sys/fork.2:1.24 Tue Jul 12 12:24:40 2016
+++ src/lib/libc/sys/fork.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: fork.2,v 1.24 2016/07/12 12:24:40 wiz Exp $
+.\" $NetBSD: fork.2,v 1.24.18.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)fork.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd July 9, 2016
+.Dd September 1, 2019
.Dt FORK 2
.Os
.Sh NAME
@@ -136,4 +136,4 @@ function conforms to
A
.Fn fork
system call appeared in
-.At v6 .
+.At v1 .
Index: src/lib/libc/sys/getuid.2
diff -u src/lib/libc/sys/getuid.2:1.17 src/lib/libc/sys/getuid.2:1.17.48.1
--- src/lib/libc/sys/getuid.2:1.17 Mon Apr 5 07:44:28 2010
+++ src/lib/libc/sys/getuid.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: getuid.2,v 1.17 2010/04/05 07:44:28 wiz Exp $
+.\" $NetBSD: getuid.2,v 1.17.48.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)getuid.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd April 3, 2010
+.Dd September 1, 2019
.Dt GETUID 2
.Os
.Sh NAME
@@ -82,4 +82,4 @@ functions conform to
The
.Fn getuid
function appeared in
-.At v4 .
+.At v1 .
Index: src/lib/libc/sys/link.2
diff -u src/lib/libc/sys/link.2:1.32 src/lib/libc/sys/link.2:1.32.28.1
--- src/lib/libc/sys/link.2:1.32 Sun Jul 28 18:40:40 2013
+++ src/lib/libc/sys/link.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: link.2,v 1.32 2013/07/28 18:40:40 njoly Exp $
+.\" $NetBSD: link.2,v 1.32.28.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 2011
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)link.2 8.3 (Berkeley) 1/12/94
.\"
-.Dd July 28, 2013
+.Dd September 1, 2019
.Dt LINK 2
.Os
.Sh NAME
@@ -240,3 +240,8 @@ function conforms to
.Fn linkat
conforms to
.St -p1003.1-2008 .
+.Sh HISTORY
+The
+.Fn link
+function appeared in
+.At v1 .
Index: src/lib/libc/sys/lseek.2
diff -u src/lib/libc/sys/lseek.2:1.24 src/lib/libc/sys/lseek.2:1.24.48.1
--- src/lib/libc/sys/lseek.2:1.24 Mon Apr 5 07:53:47 2010
+++ src/lib/libc/sys/lseek.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: lseek.2,v 1.24 2010/04/05 07:53:47 wiz Exp $
+.\" $NetBSD: lseek.2,v 1.24.48.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)lseek.2 8.3 (Berkeley) 4/19/94
.\"
-.Dd April 3, 2010
+.Dd September 2, 2019
.Dt LSEEK 2
.Os
.Sh NAME
@@ -134,7 +134,7 @@ function conforms to
A
.Fn seek
function appeared in
-.At v2 ,
+.At v1 ,
later renamed into
.Fn lseek
for
Index: src/lib/libc/sys/mkdir.2
diff -u src/lib/libc/sys/mkdir.2:1.29 src/lib/libc/sys/mkdir.2:1.29.28.1
--- src/lib/libc/sys/mkdir.2:1.29 Tue Oct 15 11:43:21 2013
+++ src/lib/libc/sys/mkdir.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: mkdir.2,v 1.29 2013/10/15 11:43:21 njoly Exp $
+.\" $NetBSD: mkdir.2,v 1.29.28.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)mkdir.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd July 28, 2013
+.Dd September 1, 2019
.Dt MKDIR 2
.Os
.Sh NAME
@@ -159,3 +159,8 @@ function conforms to
.Fn mkdirat
conforms to
.St -p1003.1-2008 .
+.Sh HISTORY
+The
+.Fn mkdir
+function appeared in
+.At v1 .
Index: src/lib/libc/sys/mount.2
diff -u src/lib/libc/sys/mount.2:1.50 src/lib/libc/sys/mount.2:1.50.12.1
--- src/lib/libc/sys/mount.2:1.50 Sun May 14 12:30:37 2017
+++ src/lib/libc/sys/mount.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: mount.2,v 1.50 2017/05/14 12:30:37 wiz Exp $
+.\" $NetBSD: mount.2,v 1.50.12.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)mount.2 8.3 (Berkeley) 5/24/95
.\"
-.Dd November 18, 2011
+.Dd September 2, 2019
.Dt MOUNT 2
.Os
.Sh NAME
@@ -421,8 +421,8 @@ and
.Fn umount
(now
.Fn unmount )
-function calls were all present in
-.At v6 .
+functions appeared in
+.At v1 .
.Pp
Prior to
.Nx 4.0
Index: src/lib/libc/sys/open.2
diff -u src/lib/libc/sys/open.2:1.59 src/lib/libc/sys/open.2:1.59.6.1
--- src/lib/libc/sys/open.2:1.59 Mon Nov 13 09:04:57 2017
+++ src/lib/libc/sys/open.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: open.2,v 1.59 2017/11/13 09:04:57 wiz Exp $
+.\" $NetBSD: open.2,v 1.59.6.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
.\"
-.Dd November 9, 2017
+.Dd September 2, 2019
.Dt OPEN 2
.Os
.Sh NAME
@@ -479,4 +479,4 @@ is of concern.
An
.Fn open
function call appeared in
-.At v2 .
+.At v1 .
Index: src/lib/libc/sys/read.2
diff -u src/lib/libc/sys/read.2:1.36 src/lib/libc/sys/read.2:1.36.8.1
--- src/lib/libc/sys/read.2:1.36 Mon Jul 3 21:32:50 2017
+++ src/lib/libc/sys/read.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: read.2,v 1.36 2017/07/03 21:32:50 wiz Exp $
+.\" $NetBSD: read.2,v 1.36.8.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)read.2 8.4 (Berkeley) 2/26/94
.\"
-.Dd December 12, 2011
+.Dd September 2, 2019
.Dt READ 2
.Os
.Sh NAME
@@ -250,7 +250,7 @@ appeared in
The
.Fn read
function call appeared in
-.At v2 .
+.At v1 .
.Sh CAVEATS
Error checks should explicitly test for \-1.
Code such as
Index: src/lib/libc/sys/setuid.2
diff -u src/lib/libc/sys/setuid.2:1.22 src/lib/libc/sys/setuid.2:1.22.48.1
--- src/lib/libc/sys/setuid.2:1.22 Mon Apr 5 07:44:28 2010
+++ src/lib/libc/sys/setuid.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: setuid.2,v 1.22 2010/04/05 07:44:28 wiz Exp $
+.\" $NetBSD: setuid.2,v 1.22.48.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)setuid.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd April 3, 2010
+.Dd September 2, 2019
.Dt SETUID 2
.Os
.Sh NAME
@@ -129,7 +129,7 @@ The
and
.Fn setgid
functions appeared in
-.At v2
+.At v1
and
.At v4 ,
respectively.
Index: src/lib/libc/sys/stat.2
diff -u src/lib/libc/sys/stat.2:1.58 src/lib/libc/sys/stat.2:1.58.14.1
--- src/lib/libc/sys/stat.2:1.58 Fri Feb 3 08:14:58 2017
+++ src/lib/libc/sys/stat.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: stat.2,v 1.58 2017/02/03 08:14:58 abhinav Exp $
+.\" $NetBSD: stat.2,v 1.58.14.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)stat.2 8.4 (Berkeley) 5/1/95
.\"
-.Dd April 10, 2014
+.Dd September 1, 2019
.Dt STAT 2
.Os
.Sh NAME
@@ -403,10 +403,12 @@ conform to
conforms to
.St -p1003.1-2008 .
.Sh HISTORY
-A
+The
.Fn stat
-function call appeared in
-.At v2 .
+and
+.Fn fstat
+function calls appeared in
+.At v1 .
A
.Fn lstat
function call appeared in
Index: src/lib/libc/sys/unlink.2
diff -u src/lib/libc/sys/unlink.2:1.29 src/lib/libc/sys/unlink.2:1.29.14.1
--- src/lib/libc/sys/unlink.2:1.29 Thu Mar 30 18:54:26 2017
+++ src/lib/libc/sys/unlink.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: unlink.2,v 1.29 2017/03/30 18:54:26 abhinav Exp $
+.\" $NetBSD: unlink.2,v 1.29.14.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)unlink.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd July 28, 2013
+.Dd September 2, 2019
.Dt UNLINK 2
.Os
.Sh NAME
@@ -188,4 +188,4 @@ conforms to
An
.Fn unlink
function call appeared in
-.At v2 .
+.At v1 .
Index: src/lib/libc/sys/wait.2
diff -u src/lib/libc/sys/wait.2:1.39 src/lib/libc/sys/wait.2:1.39.16.1
--- src/lib/libc/sys/wait.2:1.39 Sun Nov 20 09:38:37 2016
+++ src/lib/libc/sys/wait.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: wait.2,v 1.39 2016/11/20 09:38:37 wiz Exp $
+.\" $NetBSD: wait.2,v 1.39.16.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)wait.2 8.2 (Berkeley) 4/19/94
.\"
-.Dd November 10, 2016
+.Dd September 2, 2019
.Dt WAIT 2
.Os
.Sh NAME
@@ -659,4 +659,4 @@ call are extensions to the POSIX interfa
A
.Fn wait
function call appeared in
-.At v2 .
+.At v1 .
Index: src/lib/libc/sys/write.2
diff -u src/lib/libc/sys/write.2:1.35 src/lib/libc/sys/write.2:1.35.8.1
--- src/lib/libc/sys/write.2:1.35 Mon Jul 3 21:32:50 2017
+++ src/lib/libc/sys/write.2 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: write.2,v 1.35 2017/07/03 21:32:50 wiz Exp $
+.\" $NetBSD: write.2,v 1.35.8.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)write.2 8.5 (Berkeley) 4/2/94
.\"
-.Dd April 3, 2010
+.Dd September 2, 2019
.Dt WRITE 2
.Os
.Sh NAME
@@ -264,7 +264,7 @@ appeared in
The
.Fn write
function call appeared in
-.At v2 .
+.At v1 .
.Sh CAVEATS
Error checks should explicitly test for \-1.
Code such as
Index: src/lib/libc/time/ctime.3
diff -u src/lib/libc/time/ctime.3:1.60 src/lib/libc/time/ctime.3:1.60.2.1
--- src/lib/libc/time/ctime.3:1.60 Fri Oct 19 23:05:35 2018
+++ src/lib/libc/time/ctime.3 Thu Sep 5 08:19:42 2019
@@ -1,8 +1,8 @@
-.\" $NetBSD: ctime.3,v 1.60 2018/10/19 23:05:35 christos Exp $
+.\" $NetBSD: ctime.3,v 1.60.2.1 2019/09/05 08:19:42 martin Exp $
.\"
.\" XXX: License missing?
.\"
-.Dd May 5, 2018
+.Dd September 2, 2019
.Dt CTIME 3
.Os
.Sh NAME
@@ -494,6 +494,11 @@ functions conform to
.St -ansiC .
Rest of the functions conform to
.St -p1003.1-2008 .
+.Sh HISTORY
+A
+.Fn ctime
+function appeared in
+.At v1 .
.Sh CAVEATS
The functions that do not take an explicit
.Ft timezone_t
Index: src/lib/libcompat/4.1/stty.3
diff -u src/lib/libcompat/4.1/stty.3:1.9 src/lib/libcompat/4.1/stty.3:1.9.98.1
--- src/lib/libcompat/4.1/stty.3:1.9 Thu Aug 7 16:44:15 2003
+++ src/lib/libcompat/4.1/stty.3 Thu Sep 5 08:19:42 2019
@@ -26,9 +26,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)stty.3 8.1 (Berkeley) 6/4/93
-.\" $NetBSD: stty.3,v 1.9 2003/08/07 16:44:15 agc Exp $
+.\" $NetBSD: stty.3,v 1.9.98.1 2019/09/05 08:19:42 martin Exp $
.\"
-.Dd June 4, 1993
+.Dd September 2, 2019
.Dt STTY 3
.Os
.Sh NAME
@@ -90,4 +90,8 @@ The
and
.Fn gtty
functions appeared in
+.At v1 .
+Obsoleted by
+.Xr ioctl 2 ,
+these functions were moved to libcompat in
.Bx 4.2 .
Index: src/lib/libm/man/cos.3
diff -u src/lib/libm/man/cos.3:1.16 src/lib/libm/man/cos.3:1.16.2.1
--- src/lib/libm/man/cos.3:1.16 Thu Apr 25 23:17:24 2019
+++ src/lib/libm/man/cos.3 Thu Sep 5 08:19:40 2019
@@ -26,9 +26,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)cos.3 5.1 (Berkeley) 5/2/91
-.\" $NetBSD: cos.3,v 1.16 2019/04/25 23:17:24 maya Exp $
+.\" $NetBSD: cos.3,v 1.16.2.1 2019/09/05 08:19:40 martin Exp $
.\"
-.Dd April 26, 2019
+.Dd September 2, 2019
.Dt COS 3
.Os
.Sh NAME
@@ -79,3 +79,8 @@ The
.Fn cos
function conforms to
.St -ansiC .
+.Sh HISTORY
+A
+.Fn cos
+function appeared in
+.At v1 .
Index: src/lib/libm/man/exp.3
diff -u src/lib/libm/man/exp.3:1.31 src/lib/libm/man/exp.3:1.31.14.1
--- src/lib/libm/man/exp.3:1.31 Wed Feb 1 14:46:51 2017
+++ src/lib/libm/man/exp.3 Thu Sep 5 08:19:40 2019
@@ -27,9 +27,9 @@
.\"
.\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91
.\" $FreeBSD: src/lib/msun/man/exp.3,v 1.24 2008/01/18 21:43:00 das Exp $
-.\" $NetBSD: exp.3,v 1.31 2017/02/01 14:46:51 abhinav Exp $
+.\" $NetBSD: exp.3,v 1.31.14.1 2019/09/05 08:19:40 martin Exp $
.\"
-.Dd September 13, 2011
+.Dd September 2, 2019
.Dt EXP 3
.Os
.Sh NAME
@@ -120,7 +120,7 @@ functions conform to
The
.Fn exp
functions appeared in
-.At v6 .
+.At v1 .
The
.Fn expm1
function appeared in
Index: src/lib/libm/man/log.3
diff -u src/lib/libm/man/log.3:1.6 src/lib/libm/man/log.3:1.6.8.1
--- src/lib/libm/man/log.3:1.6 Mon Jul 3 21:32:50 2017
+++ src/lib/libm/man/log.3 Thu Sep 5 08:19:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: log.3,v 1.6 2017/07/03 21:32:50 wiz Exp $
+.\" $NetBSD: log.3,v 1.6.8.1 2019/09/05 08:19:40 martin Exp $
.\"
.\" Copyright (c) 2011 Jukka Ruohonen <[email protected]>
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 13, 2011
+.Dd September 2, 2019
.Dt LOG 3
.Os
.Sh NAME
@@ -33,7 +33,7 @@
.Nm log10 ,
.Nm log10f ,
.Nm log1p ,
-.Nm log1pf
+.Nm log1pf ,
.Nm log2 ,
.Nm log2f
.Nd logarithm functions
@@ -166,5 +166,7 @@ unless
The described functions conform to
.St -isoC-99 .
.Sh HISTORY
-The history of the logarithm functions dates back to
-.At v6 .
+A
+.Fn log
+function appeared in
+.At v1 .
Index: src/lib/libm/man/sin.3
diff -u src/lib/libm/man/sin.3:1.14 src/lib/libm/man/sin.3:1.14.98.1
--- src/lib/libm/man/sin.3:1.14 Thu Aug 7 16:44:49 2003
+++ src/lib/libm/man/sin.3 Thu Sep 5 08:19:40 2019
@@ -26,9 +26,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sin.3 6.7 (Berkeley) 4/19/91
-.\" $NetBSD: sin.3,v 1.14 2003/08/07 16:44:49 agc Exp $
+.\" $NetBSD: sin.3,v 1.14.98.1 2019/09/05 08:19:40 martin Exp $
.\"
-.Dd April 19, 1991
+.Dd September 2, 2019
.Dt SIN 3
.Os
.Sh NAME
@@ -71,3 +71,8 @@ The
.Fn sin
function conforms to
.St -ansiC .
+.Sh HISTORY
+A
+.Fn sin
+function appeared in
+.At v1 .
Index: src/sbin/init/init.8
diff -u src/sbin/init/init.8:1.60 src/sbin/init/init.8:1.60.16.1
--- src/sbin/init/init.8:1.60 Sun Sep 11 22:22:57 2016
+++ src/sbin/init/init.8 Thu Sep 5 08:19:41 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: init.8,v 1.60 2016/09/11 22:22:57 sevan Exp $
+.\" $NetBSD: init.8,v 1.60.16.1 2019/09/05 08:19:41 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" @(#)init.8 8.6 (Berkeley) 5/26/95
.\"
-.Dd September 11, 2016
+.Dd September 1, 2019
.Dt INIT 8
.Os
.Sh NAME
@@ -356,7 +356,6 @@ each time it is started.
This is often caused by a ringing or noisy terminal line.
.Em "Init will sleep for 10 seconds" ,
.Em "then continue trying to start the process" .
-.Pp
.It "some processes would not die; ps axl advised."
A process is hung and could not be killed when the system was
shutting down.
@@ -384,7 +383,7 @@ device driver because of a persistent de
.Xr secmodel_bsd44 9 ,
.Xr secmodel_securelevel 9
.Sh HISTORY
-A
+An
.Nm
command appeared in
.At v1 .
Index: src/share/man/man5/passwd.5
diff -u src/share/man/man5/passwd.5:1.33 src/share/man/man5/passwd.5:1.33.8.1
--- src/share/man/man5/passwd.5:1.33 Mon Jul 3 21:30:59 2017
+++ src/share/man/man5/passwd.5 Thu Sep 5 08:19:41 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: passwd.5,v 1.33 2017/07/03 21:30:59 wiz Exp $
+.\" $NetBSD: passwd.5,v 1.33.8.1 2019/09/05 08:19:41 martin Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -52,7 +52,7 @@
.\"
.\" @(#)passwd.5 8.1 (Berkeley) 6/5/93
.\"
-.Dd April 5, 2012
+.Dd September 1, 2019
.Dt PASSWD 5
.Os
.Sh NAME
@@ -401,7 +401,7 @@ BEGIN { FS = ":"}
A
.Nm
file format appeared in
-.At v6 .
+.At v1 .
.Pp
The
.Tn NIS
Index: src/share/man/man5/utmp.5
diff -u src/share/man/man5/utmp.5:1.16 src/share/man/man5/utmp.5:1.16.48.1
--- src/share/man/man5/utmp.5:1.16 Mon Mar 22 18:58:32 2010
+++ src/share/man/man5/utmp.5 Thu Sep 5 08:19:41 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: utmp.5,v 1.16 2010/03/22 18:58:32 joerg Exp $
+.\" $NetBSD: utmp.5,v 1.16.48.1 2019/09/05 08:19:41 martin Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)utmp.5 8.2 (Berkeley) 3/17/94
.\"
-.Dd May 14, 2003
+.Dd September 1, 2019
.Dt UTMP 5
.Os
.Sh NAME
@@ -210,10 +210,12 @@ file.
.Sh HISTORY
A
.Nm utmp
-and
+file format appeared in
+.At v1 .
+The
.Nm wtmp
file format appeared in
-.At v6 .
+.At v3 .
The
.Nm lastlog
file format appeared in
Index: src/share/man/man9/copy.9
diff -u src/share/man/man9/copy.9:1.20.6.1 src/share/man/man9/copy.9:1.20.6.2
--- src/share/man/man9/copy.9:1.20.6.1 Sun Sep 1 19:34:16 2019
+++ src/share/man/man9/copy.9 Thu Sep 5 08:19:41 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: copy.9,v 1.20.6.1 2019/09/01 19:34:16 martin Exp $
+.\" $NetBSD: copy.9,v 1.20.6.2 2019/09/05 08:19:41 martin Exp $
.\"
.\" Copyright (c) 1996, 2002 Jason R. Thorpe.
.\" All rights reserved.
@@ -176,5 +176,5 @@ if the string is longer than
.Fa len
bytes.
.Sh SEE ALSO
-.Xr fetch 9 ,
+.Xr ufetch 9 ,
.Xr ustore 9
Index: src/share/man/man9/intro.9
diff -u src/share/man/man9/intro.9:1.24.2.1 src/share/man/man9/intro.9:1.24.2.2
--- src/share/man/man9/intro.9:1.24.2.1 Sun Sep 1 19:34:16 2019
+++ src/share/man/man9/intro.9 Thu Sep 5 08:19:41 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: intro.9,v 1.24.2.1 2019/09/01 19:34:16 martin Exp $
+.\" $NetBSD: intro.9,v 1.24.2.2 2019/09/05 08:19:41 martin Exp $
.\"
.\" Copyright (c) 1997, 2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -326,7 +326,7 @@ See
.Pp
Fetch data from user-space.
See
-.Xr fetch 9 .
+.Xr ufetch 9 .
.Pp
Move data described by a struct uio.
See
@@ -495,10 +495,6 @@ Support for PCMCIA PC-Card devices.
See
.Xr pcmcia 9 .
.Pp
-User-space interface to ppbus parallel port.
-See
-.Xr ppi 9 .
-.Pp
Interface between low and high level radio drivers.
See
.Xr radio 9 .
Index: src/share/man/man9/uiomove.9
diff -u src/share/man/man9/uiomove.9:1.18.8.1 src/share/man/man9/uiomove.9:1.18.8.2
--- src/share/man/man9/uiomove.9:1.18.8.1 Sun Sep 1 19:34:16 2019
+++ src/share/man/man9/uiomove.9 Thu Sep 5 08:19:41 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: uiomove.9,v 1.18.8.1 2019/09/01 19:34:16 martin Exp $
+.\" $NetBSD: uiomove.9,v 1.18.8.2 2019/09/05 08:19:41 martin Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -67,7 +67,6 @@ A
.Va struct uio
typically describes data in motion.
Several of the fields described below reflect that expectation.
-.Pp
.Bl -tag -width "uio_vmspace "
.It Va uio_iov
Pointer to array of
@@ -150,5 +149,5 @@ If a bad address is encountered,
is returned.
.Sh SEE ALSO
.Xr copy 9 ,
-.Xr fetch 9 ,
+.Xr ufetch 9 ,
.Xr ustore 9
Index: src/usr.bin/dc/dc.1
diff -u src/usr.bin/dc/dc.1:1.2 src/usr.bin/dc/dc.1:1.2.18.1
--- src/usr.bin/dc/dc.1:1.2 Mon Apr 10 16:37:48 2017
+++ src/usr.bin/dc/dc.1 Thu Sep 5 08:19:42 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: dc.1,v 1.2 2017/04/10 16:37:48 christos Exp $
+.\" $NetBSD: dc.1,v 1.2.18.1 2019/09/05 08:19:42 martin Exp $
.\" $OpenBSD: dc.1,v 1.30 2017/02/23 06:40:17 otto Exp $
.\"
.\" Copyright (C) Caldera International Inc. 2001-2002.
@@ -35,7 +35,7 @@
.\"
.\" @(#)dc.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd February 23, 2017
+.Dd September 1, 2019
.Dt DC 1
.Os
.Sh NAME
@@ -517,7 +517,7 @@ specification.
The
.Nm
command first appeared in
-.At v6 .
+.At v1 .
A complete rewrite of the
.Nm
command using the
Index: src/usr.bin/du/du.1
diff -u src/usr.bin/du/du.1:1.23 src/usr.bin/du/du.1:1.23.34.1
--- src/usr.bin/du/du.1:1.23 Mon May 14 21:14:14 2012
+++ src/usr.bin/du/du.1 Thu Sep 5 08:19:41 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: du.1,v 1.23 2012/05/14 21:14:14 wiz Exp $
+.\" $NetBSD: du.1,v 1.23.34.1 2019/09/05 08:19:41 martin Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)du.1 8.2 (Berkeley) 4/1/94
.\"
-.Dd May 14, 2012
+.Dd September 1, 2019
.Dt DU 1
.Os
.Sh NAME
@@ -165,4 +165,4 @@ size block.
A
.Nm
command appeared in
-.At v6 .
+.At v1 .
Index: src/usr.bin/mail/mail.1
diff -u src/usr.bin/mail/mail.1:1.65 src/usr.bin/mail/mail.1:1.65.2.1
--- src/usr.bin/mail/mail.1:1.65 Fri Jul 26 13:05:30 2019
+++ src/usr.bin/mail/mail.1 Thu Sep 5 08:19:41 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: mail.1,v 1.65 2019/07/26 13:05:30 christos Exp $
+.\" $NetBSD: mail.1,v 1.65.2.1 2019/09/05 08:19:41 martin Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)mail.1 8.8 (Berkeley) 4/28/95
.\"
-.Dd July 26, 2019
+.Dd September 1, 2019
.Dt MAIL 1
.Os
.Sh NAME
@@ -61,7 +61,6 @@ is an intelligent mail processing system
a command syntax reminiscent of
.Xr \&ed 1
with lines replaced by messages.
-.Pp
.Bl -tag -width flag
.It Fl a
Attach
@@ -1136,7 +1135,6 @@ Note:
.Ic sort
has no effect on the threading, sorting only on the heads
of the threads if threads exist.
-.Pp
.It Ic source
The
.Ic source
@@ -2238,7 +2236,6 @@ parts using
(assuming it is installed) and add this support to
.Ql multipart/alternative
blocks:
-.Pp
.Bd -literal -offset indent
set mime-body-text-html="+/usr/pkg/bin/lynx -force_html -dump -stdin"
.Ed
@@ -2290,7 +2287,7 @@ A
.Nm
command
appeared in
-.At v6 .
+.At v1 .
This man page is derived from
.Dq The Mail Reference Manual
originally written by Kurt Shoens.
Index: src/usr.bin/mesg/mesg.1
diff -u src/usr.bin/mesg/mesg.1:1.10 src/usr.bin/mesg/mesg.1:1.10.8.1
--- src/usr.bin/mesg/mesg.1:1.10 Mon Jul 3 21:34:20 2017
+++ src/usr.bin/mesg/mesg.1 Thu Sep 5 08:19:43 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: mesg.1,v 1.10 2017/07/03 21:34:20 wiz Exp $
+.\" $NetBSD: mesg.1,v 1.10.8.1 2019/09/05 08:19:43 martin Exp $
.\"
.\" Copyright (c) 1987, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)mesg.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd June 6, 1993
+.Dd September 1, 2019
.Dt MESG 1
.Os
.Sh NAME
@@ -86,4 +86,4 @@ An error has occurred.
A
.Nm
command appeared in
-.At v6 .
+.At v1 .
Index: src/usr.bin/pr/pr.1
diff -u src/usr.bin/pr/pr.1:1.23 src/usr.bin/pr/pr.1:1.23.8.1
--- src/usr.bin/pr/pr.1:1.23 Mon Jul 3 21:34:21 2017
+++ src/usr.bin/pr/pr.1 Thu Sep 5 08:19:42 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: pr.1,v 1.23 2017/07/03 21:34:21 wiz Exp $
+.\" $NetBSD: pr.1,v 1.23.8.1 2019/09/05 08:19:42 martin Exp $
.\"
.\" Copyright (c) 1991 Keith Muller.
.\" Copyright (c) 1993
@@ -35,7 +35,7 @@
.\"
.\" from: @(#)pr.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd July 31, 2012
+.Dd September 1, 2019
.Dt PR 1
.Os
.Sh NAME
@@ -359,3 +359,8 @@ The
utility is
.St -p1003.1-2008
compatible.
+.Sh HISTORY
+A
+.Nm
+utility appeared in
+.At v1 .
Index: src/usr.bin/sort/sort.1
diff -u src/usr.bin/sort/sort.1:1.39 src/usr.bin/sort/sort.1:1.39.2.1
--- src/usr.bin/sort/sort.1:1.39 Thu Jul 11 03:49:51 2019
+++ src/usr.bin/sort/sort.1 Thu Sep 5 08:19:43 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: sort.1,v 1.39 2019/07/11 03:49:51 msaitoh Exp $
+.\" $NetBSD: sort.1,v 1.39.2.1 2019/09/05 08:19:43 martin Exp $
.\"
.\" Copyright (c) 2000-2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -59,7 +59,7 @@
.\"
.\" @(#)sort.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd June 1, 2016
+.Dd September 1, 2019
.Dt SORT 1
.Os
.Sh NAME
@@ -473,7 +473,7 @@ An error occurred.
A
.Nm
command appeared in
-.At v5 .
+.At v1 .
This
.Nm
implementation appeared in
Index: src/usr.bin/su/su.1
diff -u src/usr.bin/su/su.1:1.52 src/usr.bin/su/su.1:1.52.12.1
--- src/usr.bin/su/su.1:1.52 Thu May 18 16:33:57 2017
+++ src/usr.bin/su/su.1 Thu Sep 5 08:19:41 2019
@@ -26,9 +26,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)su.1 8.2 (Berkeley) 4/18/94
-.\" $NetBSD: su.1,v 1.52 2017/05/18 16:33:57 abhinav Exp $
+.\" $NetBSD: su.1,v 1.52.12.1 2019/09/05 08:19:41 martin Exp $
.\"
-.Dd November 20, 2012
+.Dd September 1, 2019
.Dt SU 1
.Os
.Sh NAME
@@ -45,8 +45,7 @@
.Nm
.Op Fl dfKlm
.Op Fl c Ar login-class
-.Oo
-.Ns : Ns Ar group
+.Oo : Ns Ar group
.Op Ar "shell arguments"
.Oc
.Sh DESCRIPTION
@@ -385,8 +384,7 @@ su username -c "command args"
.Xr environ 7 ,
.Xr kerberos 8
.Sh HISTORY
-A
+An
.Nm
-command existed in
-.At v5
-(and probably earlier).
+utility appeared in
+.At v1
Index: src/usr.bin/tty/tty.1
diff -u src/usr.bin/tty/tty.1:1.9 src/usr.bin/tty/tty.1:1.9.8.1
--- src/usr.bin/tty/tty.1:1.9 Mon Jul 3 21:34:22 2017
+++ src/usr.bin/tty/tty.1 Thu Sep 5 08:19:41 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: tty.1,v 1.9 2017/07/03 21:34:22 wiz Exp $
+.\" $NetBSD: tty.1,v 1.9.8.1 2019/09/05 08:19:41 martin Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" @(#)tty.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd June 6, 1993
+.Dd September 1, 2019
.Dt TTY 1
.Os
.Sh NAME
@@ -73,3 +73,8 @@ The
.Nm
utility conforms to
.St -p1003.2-92 .
+.Sh HISTORY
+A
+.Nm
+utility appeared in
+.At v1 .
Index: src/usr.bin/wc/wc.1
diff -u src/usr.bin/wc/wc.1:1.17 src/usr.bin/wc/wc.1:1.17.8.1
--- src/usr.bin/wc/wc.1:1.17 Mon Jul 3 21:34:22 2017
+++ src/usr.bin/wc/wc.1 Thu Sep 5 08:19:42 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: wc.1,v 1.17 2017/07/03 21:34:22 wiz Exp $
+.\" $NetBSD: wc.1,v 1.17.8.1 2019/09/05 08:19:42 martin Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" from: @(#)wc.1 8.2 (Berkeley) 4/19/94
.\"
-.Dd February 18, 2010
+.Dd September 1, 2019
.Dt WC 1
.Os
.Sh NAME
@@ -144,3 +144,8 @@ The
.Nm
utility conforms to
.St -p1003.2-92 .
+.Sh HISTORY
+A
+.Nm
+utility appeared in
+.At v1 .
Index: src/usr.bin/who/who.1
diff -u src/usr.bin/who/who.1:1.24 src/usr.bin/who/who.1:1.24.4.1
--- src/usr.bin/who/who.1:1.24 Fri May 11 16:36:57 2018
+++ src/usr.bin/who/who.1 Thu Sep 5 08:19:43 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: who.1,v 1.24 2018/05/11 16:36:57 sevan Exp $
+.\" $NetBSD: who.1,v 1.24.4.1 2019/09/05 08:19:43 martin Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)who.1 8.2 (Berkeley) 12/30/93
.\"
-.Dd May 11, 2018
+.Dd September 1, 2019
.Dt WHO 1
.Os
.Sh NAME
@@ -194,4 +194,4 @@ A
.Nm
utility appeared in
.At v1 :
-.Lk http://cm.bell-labs.com/cm/cs/who/dmr/pdfs/man14.pdf
+.Lk https://www.bell-labs.com/usr/dmr/www/man14.pdf
Index: src/usr.bin/write/write.1
diff -u src/usr.bin/write/write.1:1.6 src/usr.bin/write/write.1:1.6.100.1
--- src/usr.bin/write/write.1:1.6 Thu Aug 7 11:17:48 2003
+++ src/usr.bin/write/write.1 Thu Sep 5 08:19:42 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: write.1,v 1.6 2003/08/07 11:17:48 agc Exp $
+.\" $NetBSD: write.1,v 1.6.100.1 2019/09/05 08:19:42 martin Exp $
.\"
.\" Copyright (c) 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" from: @(#)write.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd June 6, 1993
+.Dd September 1, 2019
.Dt WRITE 1
.Os
.Sh NAME
@@ -103,4 +103,4 @@ over.
A
.Nm
command appeared in
-.At v6 .
+.At v1 .