From 5e7f566c36159951eb7256933970dc6386dc8ba3 Mon Sep 17 00:00:00 2001 From: jsg <> Date: Mon, 25 Jul 2022 02:25:55 +0000 Subject: If a command or interface first appeared in PWB/UNIX, UNIX System III or UNIX System V mention it. Only do so in manual pages with a pre-existing HISTORY section. Prompted by the comparison of System V and BSD commands and interfaces in Sun's "System V Enhancements Overview" document. checked against manuals on bitsavers, TUHS archive and CSRG archive CDs ok jmc@ schwarze@ --- src/lib/libc/stdlib/getenv.3 | 8 +++++--- src/lib/libc/stdlib/getopt.3 | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/lib/libc/stdlib/getenv.3 b/src/lib/libc/stdlib/getenv.3 index ce2ef43b6f..1654d4257c 100644 --- a/src/lib/libc/stdlib/getenv.3 +++ b/src/lib/libc/stdlib/getenv.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: getenv.3,v 1.21 2014/07/11 09:24:03 tedu Exp $ +.\" $OpenBSD: getenv.3,v 1.22 2022/07/25 02:25:55 jsg Exp $ .\" -.Dd $Mdocdate: July 11 2014 $ +.Dd $Mdocdate: July 25 2022 $ .Dt GETENV 3 .Os .Sh NAME @@ -174,7 +174,9 @@ appeared in .Bx 4.3 Tahoe . The .Fn putenv -function appeared in +function first appeared in +.At V.2 +and was reimplemented for .Bx 4.3 Reno . .Sh CAVEATS Library code must be careful about using diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index 4a1d727388..c7e28ff91f 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 @@ -25,9 +25,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: getopt.3,v 1.47 2021/10/24 21:24:20 deraadt Exp $ +.\" $OpenBSD: getopt.3,v 1.48 2022/07/25 02:25:55 jsg Exp $ .\" -.Dd $Mdocdate: October 24 2021 $ +.Dd $Mdocdate: July 25 2022 $ .Dt GETOPT 3 .Os .Sh NAME @@ -307,7 +307,9 @@ be set to the last character that caused an error. .Sh HISTORY The .Fn getopt -function appeared in +function first appeared in +.At III +and was reimplemented for .Bx 4.3 . .Sh BUGS The -- cgit v1.2.3-55-g6feb