git: 4b7f35db44cb - main - libc: Add HISTORY sections to the manual pages

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Thu, 05 May 2022 16:50:38 UTC
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=4b7f35db44cbf901e994fc9a4bcd4c98ebe8c4a1

commit 4b7f35db44cbf901e994fc9a4bcd4c98ebe8c4a1
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-05-05 16:46:32 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-05-05 16:46:32 +0000

    libc: Add HISTORY sections to the manual pages
    
    There are some sections which could be improved
    and work to do so is on going. The work will be
    covered via 'X-MFC-WITH' commits.
    
    Obtained from:  OpenBSD
    MFC after:      1 month
    Differential Revision: https://reviews.freebsd.org/D34759
---
 lib/libc/compat-43/sigvec.2 | 11 ++++++++++-
 lib/libc/db/man/dbm.3       | 13 ++++++++++++-
 lib/libc/gen/alarm.3        | 10 ++++++++--
 lib/libc/gen/fnmatch.3      |  6 +++++-
 lib/libc/gen/pause.3        | 20 ++++++++++++++++----
 lib/libc/gen/setjmp.3       |  8 +++++++-
 lib/libc/locale/ctype.3     | 17 ++++++++++++++++-
 lib/libc/locale/isalnum.3   |  7 ++++++-
 lib/libc/locale/isascii.3   |  7 ++++++-
 lib/libc/locale/iscntrl.3   |  7 ++++++-
 lib/libc/locale/islower.3   |  7 ++++++-
 lib/libc/locale/isprint.3   |  7 ++++++-
 lib/libc/locale/ispunct.3   |  7 ++++++-
 lib/libc/locale/isspace.3   |  7 ++++++-
 lib/libc/locale/isupper.3   |  7 ++++++-
 lib/libc/stdio/ferror.3     | 11 ++++++++++-
 lib/libc/stdio/fgets.3      |  9 ++++++++-
 lib/libc/stdio/fread.3      |  9 ++++++++-
 lib/libc/stdio/fseek.3      | 10 +++++++++-
 lib/libc/stdio/scanf.3      | 17 ++++++++++++++++-
 lib/libc/stdlib/abs.3       |  7 ++++++-
 lib/libc/stdlib/ldiv.3      |  8 +++++++-
 lib/libc/string/strcat.3    | 11 ++++++++++-
 lib/libc/string/strcmp.3    | 11 ++++++++++-
 lib/libc/string/strlen.3    | 10 +++++++++-
 lib/libc/sys/nanosleep.2    | 19 ++++++++++++++++++-
 lib/msun/man/cosh.3         |  7 ++++++-
 lib/msun/man/floor.3        |  7 ++++++-
 lib/msun/man/fmod.3         |  7 ++++++-
 lib/msun/man/sinh.3         |  7 ++++++-
 lib/msun/man/tanh.3         |  7 ++++++-
 31 files changed, 263 insertions(+), 35 deletions(-)

diff --git a/lib/libc/compat-43/sigvec.2 b/lib/libc/compat-43/sigvec.2
index 12cf81fe0508..33b6869be82d 100644
--- a/lib/libc/compat-43/sigvec.2
+++ b/lib/libc/compat-43/sigvec.2
@@ -28,7 +28,7 @@
 .\"     @(#)sigvec.2	8.2 (Berkeley) 4/19/94
 .\" $FreeBSD$
 .\"
-.Dd April 19, 1994
+.Dd April 2, 2022
 .Dt SIGVEC 2
 .Os
 .Sh NAME
@@ -338,5 +338,14 @@ or
 .Xr signal 3 ,
 .Xr sigsetops 3 ,
 .Xr tty 4
+.Sh HISTORY
+A
+.Fn sigvec
+system call first appeared in
+.Bx 4.2 .
+It was reimplemented as a wrapper around
+.Xr sigaction 2
+in
+.Bx 4.3 Reno .
 .Sh BUGS
 This manual page is still confusing.
diff --git a/lib/libc/db/man/dbm.3 b/lib/libc/db/man/dbm.3
index 4fe5d82d6902..dd7cc0a614e0 100644
--- a/lib/libc/db/man/dbm.3
+++ b/lib/libc/db/man/dbm.3
@@ -15,7 +15,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 30, 2016
+.Dd April 2, 2022
 .Dt DBM 3
 .Os
 .Sh NAME
@@ -224,3 +224,14 @@ These functions (except
 .Fn dbm_dirfno )
 are included in the
 .St -susv2 .
+.Sh HISTORY
+The functions
+.Fn dbminit ,
+.Fn fetch ,
+.Fn store ,
+.Fn delete ,
+.Fn firstkey ,
+and
+.Fn nextkey
+first appeared in
+.At v7 .
diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3
index deb455ea4a7f..d9e83fd410d9 100644
--- a/lib/libc/gen/alarm.3
+++ b/lib/libc/gen/alarm.3
@@ -28,7 +28,7 @@
 .\"     @(#)alarm.3	8.2 (Berkeley) 4/19/94
 .\" $FreeBSD$
 .\"
-.Dd April 19, 1994
+.Dd April 2, 2022
 .Dt ALARM 3
 .Os
 .Sh NAME
@@ -89,5 +89,11 @@ If no alarm is currently set, the return value is 0.
 .Sh HISTORY
 An
 .Fn alarm
-function appeared in
+system call appeared in the Programmer's Workbench (PWB/UNIX)
+and was ported to
 .At v7 .
+For
+.Bx 4.1c ,
+it was reimplemented as a wrapper around the
+.Xr setitimer 2
+system call.
diff --git a/lib/libc/gen/fnmatch.3 b/lib/libc/gen/fnmatch.3
index 5503884665b6..8cc0ef9551f1 100644
--- a/lib/libc/gen/fnmatch.3
+++ b/lib/libc/gen/fnmatch.3
@@ -30,7 +30,7 @@
 .\"     @(#)fnmatch.3	8.3 (Berkeley) 4/28/95
 .\" $FreeBSD$
 .\"
-.Dd July 18, 2004
+.Dd April 2, 2022
 .Dt FNMATCH 3
 .Os
 .Sh NAME
@@ -139,6 +139,10 @@ conform to
 Collating symbol expressions, equivalence class expressions and
 character class expressions are not supported.
 .Sh HISTORY
+A predecessor to
+.Fn fnmatch ,
+.Fn gmatch ,
+first appeared in the Programmer's Workbench (PWB/UNIX).
 The
 .Fn fnmatch
 function first appeared in
diff --git a/lib/libc/gen/pause.3 b/lib/libc/gen/pause.3
index fc057c7aa634..128e81279efc 100644
--- a/lib/libc/gen/pause.3
+++ b/lib/libc/gen/pause.3
@@ -28,7 +28,7 @@
 .\"     @(#)pause.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd April 3, 2022
 .Dt PAUSE 3
 .Os
 .Sh NAME
@@ -77,6 +77,18 @@ The call was interrupted.
 .Sh HISTORY
 A
 .Fn pause
-syscall
-appeared in
-.At v6 .
+system call first appeared in the Programmer's Workbench (PWB/UNIX)
+and was then ported to
+.At v7 .
+It was reimplemeted as a wrapper around the
+.Fn sigpause
+and
+.Fn sigblock
+system calls in
+.Bx 4.2 ,
+and around the
+.Xr sigsuspend 2
+and
+.Xr sigprocmask 2
+system calls in
+.Bx 4.3 Reno .
diff --git a/lib/libc/gen/setjmp.3 b/lib/libc/gen/setjmp.3
index 5a5c0964ce10..2b6ea9afeb64 100644
--- a/lib/libc/gen/setjmp.3
+++ b/lib/libc/gen/setjmp.3
@@ -32,7 +32,7 @@
 .\"     @(#)setjmp.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd April 2, 2022
 .Dt SETJMP 3
 .Os
 .Sh NAME
@@ -170,3 +170,9 @@ and
 .Fn siglongjmp
 functions conform to
 .St -p1003.1-88 .
+.Sh HISTORY
+The
+.Fn setjmp
+and
+.Fn longjmp
+functions first appeared in the Programmer's Workbench (PWB/UNIX).
diff --git a/lib/libc/locale/ctype.3 b/lib/libc/locale/ctype.3
index 5401fdb92b16..b7a3b1ccb05a 100644
--- a/lib/libc/locale/ctype.3
+++ b/lib/libc/locale/ctype.3
@@ -28,7 +28,7 @@
 .\"     @(#)ctype.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd March 30, 2004
+.Dd April 3, 2022
 .Dt CTYPE 3
 .Os
 .Sh NAME
@@ -149,3 +149,18 @@ and
 .Fn toascii ,
 conform to
 .St -isoC .
+.Sh HISTORY
+The functions
+.Fn isalpha ,
+.Fn isupper ,
+.Fn islower ,
+.Fn isdigit ,
+.Fn isalnum ,
+.Fn isspace ,
+.Fn ispunct ,
+.Fn isprint ,
+.Fn iscntrl ,
+and
+.Fn isascii
+first appeared in
+.At v7 .
diff --git a/lib/libc/locale/isalnum.3 b/lib/libc/locale/isalnum.3
index 5dcc4cc1f12b..85e846332352 100644
--- a/lib/libc/locale/isalnum.3
+++ b/lib/libc/locale/isalnum.3
@@ -32,7 +32,7 @@
 .\"     @(#)isalnum.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd July 17, 2005
+.Dd April 2, 2022
 .Dt ISALNUM 3
 .Os
 .Sh NAME
@@ -113,3 +113,8 @@ The
 .Fn isalnum_l
 function conforms to
 .St -p1003.1-2008 .
+.Sh HISTORY
+The
+.Fn isalnum
+function first appeared in
+.At v7 .
diff --git a/lib/libc/locale/isascii.3 b/lib/libc/locale/isascii.3
index 933293ca8895..1d5d282a4fb3 100644
--- a/lib/libc/locale/isascii.3
+++ b/lib/libc/locale/isascii.3
@@ -28,7 +28,7 @@
 .\"     @(#)isascii.3	8.2 (Berkeley) 12/11/93
 .\" $FreeBSD$
 .\"
-.Dd October 6, 2002
+.Dd April 2, 2022
 .Dt ISASCII 3
 .Os
 .Sh NAME
@@ -51,3 +51,8 @@ between 0 and octal 0177 inclusive.
 .Xr ctype 3 ,
 .Xr iswascii 3 ,
 .Xr ascii 7
+.Sh HISTORY
+The
+.Fn isascii
+function first appeared in
+.At v7 .
diff --git a/lib/libc/locale/iscntrl.3 b/lib/libc/locale/iscntrl.3
index 717e1e568239..b61563735f74 100644
--- a/lib/libc/locale/iscntrl.3
+++ b/lib/libc/locale/iscntrl.3
@@ -32,7 +32,7 @@
 .\"     @(#)iscntrl.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd July 17, 2005
+.Dd April 2, 2022
 .Dt ISCNTRL 3
 .Os
 .Sh NAME
@@ -101,3 +101,8 @@ The
 .Fn iscntrl_l
 function conforms to
 .St -p1003.1-2008 .
+.Sh HISTORY
+The
+.Fn iscntrl
+function first appeared in
+.At v7 .
diff --git a/lib/libc/locale/islower.3 b/lib/libc/locale/islower.3
index 7f31ad9c7c5a..2097510acb93 100644
--- a/lib/libc/locale/islower.3
+++ b/lib/libc/locale/islower.3
@@ -32,7 +32,7 @@
 .\"     @(#)islower.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd July 30, 2012
+.Dd April 2, 2022
 .Dt ISLOWER 3
 .Os
 .Sh NAME
@@ -101,3 +101,8 @@ The
 .Fn islower_l
 function conforms to
 .St -p1003.1-2008 .
+.Sh HISTORY
+The
+.Fn islower
+function first appeared in
+.At v7 .
diff --git a/lib/libc/locale/isprint.3 b/lib/libc/locale/isprint.3
index 4a374304dad2..6e740d3e850d 100644
--- a/lib/libc/locale/isprint.3
+++ b/lib/libc/locale/isprint.3
@@ -32,7 +32,7 @@
 .\"     @(#)isprint.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd July 17, 2005
+.Dd April 2, 2022
 .Dt ISPRINT 3
 .Os
 .Sh NAME
@@ -101,3 +101,8 @@ The
 .Fn isprint
 function conforms to
 .St -isoC .
+.Sh HISTORY
+The
+.Fn isprint
+function first appeared in
+.At v7 .
diff --git a/lib/libc/locale/ispunct.3 b/lib/libc/locale/ispunct.3
index 7ebfc06c4c87..f0c838d069a3 100644
--- a/lib/libc/locale/ispunct.3
+++ b/lib/libc/locale/ispunct.3
@@ -32,7 +32,7 @@
 .\"	@(#)ispunct.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd July 30, 2012
+.Dd April 2, 2022
 .Dt ISPUNCT 3
 .Os
 .Sh NAME
@@ -107,3 +107,8 @@ The
 .Fn ispunct_l
 function conforms to
 .St -p1003.1-2008 .
+.Sh HISTORY
+The
+.Fn ispunct
+function first appeared in
+.At v7 .
diff --git a/lib/libc/locale/isspace.3 b/lib/libc/locale/isspace.3
index 9c120c41917a..67eb1b956c83 100644
--- a/lib/libc/locale/isspace.3
+++ b/lib/libc/locale/isspace.3
@@ -32,7 +32,7 @@
 .\"     @(#)isspace.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd July 30, 2012
+.Dd April 2, 2022
 .Dt ISSPACE 3
 .Os
 .Sh NAME
@@ -99,3 +99,8 @@ The
 .Fn isspace_l
 function conforms to
 .St -p1003.1-2008 .
+.Sh HISTORY
+The
+.Fn isspace
+function first appeared in
+.At v7 .
diff --git a/lib/libc/locale/isupper.3 b/lib/libc/locale/isupper.3
index 891ba2cffa40..a26fc9c610a9 100644
--- a/lib/libc/locale/isupper.3
+++ b/lib/libc/locale/isupper.3
@@ -32,7 +32,7 @@
 .\"     @(#)isupper.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd July 17, 2005
+.Dd April 2, 2022
 .Dt ISUPPER 3
 .Os
 .Sh NAME
@@ -88,3 +88,8 @@ The
 .Fn isupper
 function conforms to
 .St -isoC .
+.Sh HISTORY
+The
+.Fn isupper
+function first appeared in
+.At v7 .
diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3
index 1ff0dc48b8ff..51dbc386a84b 100644
--- a/lib/libc/stdio/ferror.3
+++ b/lib/libc/stdio/ferror.3
@@ -32,7 +32,7 @@
 .\"     @(#)ferror.3	8.2 (Berkeley) 4/19/94
 .\" $FreeBSD$
 .\"
-.Dd January 28, 2009
+.Dd April 2, 2022
 .Dt FERROR 3
 .Os
 .Sh NAME
@@ -129,3 +129,12 @@ and
 .Fn ferror
 conform to
 .St -isoC .
+.Sh HISTORY
+The functions
+.Fn clearerr ,
+.Fn feof ,
+.Fn ferror ,
+and
+.Fn fileno
+first appeared in
+.At v7 .
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index 8b4bd388b7e3..0f48273b0ea8 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -32,7 +32,7 @@
 .\"     @(#)fgets.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd September 1, 2019
+.Dd April 2, 2022
 .Dt FGETS 3
 .Os
 .Sh NAME
@@ -147,3 +147,10 @@ K.3.7.4.1.
 .Fn gets
 has been removed from
 .St -isoC-2011 .
+.Sh HISTORY
+The functions
+.Fn fgets
+and
+.Fn gets
+first appeared in
+.At v7 .
diff --git a/lib/libc/stdio/fread.3 b/lib/libc/stdio/fread.3
index 925f382939d9..19c4feab42b9 100644
--- a/lib/libc/stdio/fread.3
+++ b/lib/libc/stdio/fread.3
@@ -32,7 +32,7 @@
 .\"     @(#)fread.3	8.2 (Berkeley) 3/8/94
 .\" $FreeBSD$
 .\"
-.Dd January 23, 2020
+.Dd April 2, 2022
 .Dt FREAD 3
 .Os
 .Sh NAME
@@ -124,3 +124,10 @@ and
 .Fn fwrite
 conform to
 .St -isoC .
+.Sh HISTORY
+The functions
+.Fn fread
+and
+.Fn fwrite
+first appeared in
+.At v7 .
diff --git a/lib/libc/stdio/fseek.3 b/lib/libc/stdio/fseek.3
index 19831f773e4e..a23ddeae8a6d 100644
--- a/lib/libc/stdio/fseek.3
+++ b/lib/libc/stdio/fseek.3
@@ -32,7 +32,7 @@
 .\"     @(#)fseek.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd March 19, 2004
+.Dd April 2, 2022
 .Dt FSEEK 3
 .Os
 .Sh NAME
@@ -267,3 +267,11 @@ and
 .Fn ftello
 functions conform to
 .St -p1003.1-2001 .
+.Sh HISTORY
+The functions
+.Fn fseek ,
+.Fn ftell ,
+and
+.Fn rewind
+first appeared in
+.At v7 .
diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3
index bcf68205ae78..4a8efdbb3726 100644
--- a/lib/libc/stdio/scanf.3
+++ b/lib/libc/stdio/scanf.3
@@ -32,7 +32,7 @@
 .\"     @(#)scanf.3	8.2 (Berkeley) 12/11/93
 .\" $FreeBSD$
 .\"
-.Dd January 4, 2003
+.Dd April 2, 2022
 .Dt SCANF 3
 .Os
 .Sh NAME
@@ -474,6 +474,21 @@ and
 .Fn vsscanf
 conform to
 .St -isoC-99 .
+.Sh HISTORY
+The functions
+.Fn scanf ,
+.Fn fscanf ,
+and
+.Fn sscanf
+first appeared in
+.At v7 ,
+and
+.Fn vscanf ,
+.Fn vsscanf ,
+and
+.Fn vfscanf
+in
+.Bx 4.3 Reno .
 .Sh BUGS
 Earlier implementations of
 .Nm
diff --git a/lib/libc/stdlib/abs.3 b/lib/libc/stdlib/abs.3
index eca85e1e7a59..36a6ff7a3639 100644
--- a/lib/libc/stdlib/abs.3
+++ b/lib/libc/stdlib/abs.3
@@ -32,7 +32,7 @@
 .\"     @(#)abs.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd November 14, 2001
+.Dd April 3, 2022
 .Dt ABS 3
 .Os
 .Sh NAME
@@ -71,5 +71,10 @@ The
 .Fn abs
 function conforms to
 .St -isoC-99 .
+.Sh HISTORY
+The
+.Fn abs
+function first appeared in
+.At v6 .
 .Sh BUGS
 The absolute value of the most negative integer remains negative.
diff --git a/lib/libc/stdlib/ldiv.3 b/lib/libc/stdlib/ldiv.3
index ce4d01771b11..4e9873f2f874 100644
--- a/lib/libc/stdlib/ldiv.3
+++ b/lib/libc/stdlib/ldiv.3
@@ -32,7 +32,7 @@
 .\"     @(#)ldiv.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd November 14, 2001
+.Dd April 3, 2022
 .Dt LDIV 3
 .Os
 .Sh NAME
@@ -69,3 +69,9 @@ The
 function
 conforms to
 .St -isoC-99 .
+.Sh HISTORY
+An
+.Fn ldiv
+function with similar functionality, but a different calling convention,
+first appeared in
+.At v4 .
diff --git a/lib/libc/string/strcat.3 b/lib/libc/string/strcat.3
index a6d0fcef61f0..500611eb2154 100644
--- a/lib/libc/string/strcat.3
+++ b/lib/libc/string/strcat.3
@@ -32,7 +32,7 @@
 .\"     @(#)strcat.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd December 1, 2009
+.Dd April 3, 2022
 .Dt STRCAT 3
 .Os
 .Sh NAME
@@ -107,6 +107,15 @@ and
 functions
 conform to
 .St -isoC .
+.Sh HISTORY
+The
+.Fn strcat
+function first appeared in the Programmer's Workbench (PWB/UNIX)
+and was ported to
+.At v7 ;
+.Fn strncat
+first appeared in
+.At v7 .
 .Sh SECURITY CONSIDERATIONS
 The
 .Fn strcat
diff --git a/lib/libc/string/strcmp.3 b/lib/libc/string/strcmp.3
index a79852d2a240..df5d67253032 100644
--- a/lib/libc/string/strcmp.3
+++ b/lib/libc/string/strcmp.3
@@ -32,7 +32,7 @@
 .\"     @(#)strcmp.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd October 11, 2001
+.Dd April 3, 2022
 .Dt STRCMP 3
 .Os
 .Sh NAME
@@ -99,3 +99,12 @@ and
 functions
 conform to
 .St -isoC .
+.Sh HISTORY
+The
+.Fn strcmp
+function first appeared in the Programmer's Workbench (PWB/UNIX)
+and was ported to
+.At v7 ;
+.Fn strncmp
+first appeared in
+.At v7 .
diff --git a/lib/libc/string/strlen.3 b/lib/libc/string/strlen.3
index bc9b0f3fc0e4..55f7b09a2016 100644
--- a/lib/libc/string/strlen.3
+++ b/lib/libc/string/strlen.3
@@ -32,7 +32,7 @@
 .\"     @(#)strlen.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd February 28, 2009
+.Dd April 3, 2022
 .Dt STRLEN 3
 .Os
 .Sh NAME
@@ -91,3 +91,11 @@ The
 .Fn strnlen
 function conforms to
 .St -p1003.1-2008 .
+.Sh HISTORY
+The
+.Fn strlen
+function first appeared in the Programmer's Workbench (PWB/UNIX)
+and was ported to
+.At v7 .
+The
+.Fn strnlen
diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2
index eb75c4b1043b..dbc4f3248b27 100644
--- a/lib/libc/sys/nanosleep.2
+++ b/lib/libc/sys/nanosleep.2
@@ -30,7 +30,7 @@
 .\"     @(#)sleep.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd October 7, 2021
+.Dd April 3, 2022
 .Dt NANOSLEEP 2
 .Os
 .Sh NAME
@@ -203,3 +203,20 @@ argument was valid but not supported by this implementation of
 .Sh STANDARDS
 These functions conform to
 .St -p1003.1-2008 .
+.Sh HISTORY
+The predecessor of this system call,
+.Fn sleep ,
+appeared in
+.At v3 ,
+but was removed when
+.Xr alarm 3
+was introduced into
+.At v7 .
+The
+.Fn nanosleep
+system call has been available since
+.Nx 1.3
+and was ported to
+.Ox 2.1
+and
+.Fx 3.0 .
diff --git a/lib/msun/man/cosh.3 b/lib/msun/man/cosh.3
index 7db64e661f07..1920e3e57df8 100644
--- a/lib/msun/man/cosh.3
+++ b/lib/msun/man/cosh.3
@@ -28,7 +28,7 @@
 .\"     from: @(#)cosh.3	5.1 (Berkeley) 5/2/91
 .\" $FreeBSD$
 .\"
-.Dd August 17, 2013
+.Dd April 3, 2022
 .Dt COSH 3
 .Os
 .Sh NAME
@@ -71,3 +71,8 @@ The
 .Fn cosh
 function conforms to
 .St -isoC .
+.Sh HISTORY
+The
+.Fn cosh
+function first appeared in
+.At v7 .
diff --git a/lib/msun/man/floor.3 b/lib/msun/man/floor.3
index 67640f6f68b8..66b29eb22b97 100644
--- a/lib/msun/man/floor.3
+++ b/lib/msun/man/floor.3
@@ -28,7 +28,7 @@
 .\"     from: @(#)floor.3	6.5 (Berkeley) 4/19/91
 .\" $FreeBSD$
 .\"
-.Dd January 13, 2005
+.Dd April 3, 2022
 .Dt FLOOR 3
 .Os
 .Sh NAME
@@ -76,3 +76,8 @@ and
 .Fn floorl
 functions conform to
 .St -isoC-99 .
+.Sh HISTORY
+A
+.Fn floor
+function first appeared in
+.At v5 .
diff --git a/lib/msun/man/fmod.3 b/lib/msun/man/fmod.3
index f01aa959e0c8..892ead731256 100644
--- a/lib/msun/man/fmod.3
+++ b/lib/msun/man/fmod.3
@@ -28,7 +28,7 @@
 .\"     from: @(#)fmod.3	5.1 (Berkeley) 5/2/91
 .\" $FreeBSD$
 .\"
-.Dd June 19, 2008
+.Dd April 3, 2022
 .Dt FMOD 3
 .Os
 .Sh NAME
@@ -85,3 +85,8 @@ and
 .Fn fmodl
 functions conform to
 .St -isoC-99 .
+.Sh HISTORY
+An
+.Fn fmod
+function first appeared in
+.At v5 .
diff --git a/lib/msun/man/sinh.3 b/lib/msun/man/sinh.3
index 96fa280f958e..e81ae951c22e 100644
--- a/lib/msun/man/sinh.3
+++ b/lib/msun/man/sinh.3
@@ -28,7 +28,7 @@
 .\"	from: @(#)sinh.3	6.6 (Berkeley) 4/19/91
 .\" $FreeBSD$
 .\"
-.Dd August 17, 2013
+.Dd April 3, 2022
 .Dt SINH 3
 .Os
 .Sh NAME
@@ -71,3 +71,8 @@ The
 .Fn sinh
 function conforms to
 .St -isoC .
+.Sh HISTORY
+The
+.Fn sinh
+function first appeared in
+.At v7 .
diff --git a/lib/msun/man/tanh.3 b/lib/msun/man/tanh.3
index ca59a806b132..6004f5a853ac 100644
--- a/lib/msun/man/tanh.3
+++ b/lib/msun/man/tanh.3
@@ -28,7 +28,7 @@
 .\"     from: @(#)tanh.3	5.1 (Berkeley) 5/2/91
 .\" $FreeBSD$
 .\"
-.Dd August 17, 2013
+.Dd April 3, 2022
 .Dt TANH 3
 .Os
 .Sh NAME
@@ -80,3 +80,8 @@ The
 .Fn tanh
 function conforms to
 .St -isoC .
+.Sh HISTORY
+The
+.Fn tanh
+function first appeared in
+.At v7 .