From nobody Sat Jun 04 06:00:01 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 970B41BE50C4; Sat, 4 Jun 2022 06:00:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LFTcL4hBRz4nWL; Sat, 4 Jun 2022 06:00:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654322402; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lk4rxDPFMvwe0kjZfbAuoABjK+0ewoOcnEIDuof9GMo=; b=lQJQNQD6cUFVWBjukDn+f0wGtUiT9XXzbARjSIvmy/Ke2vN38sgnHAUmw7vEmORB2x2aH4 Say2LaB9ShN+33wTfQabvTvPMuutfc/B3z+QO6hWKs9NtYXlThRDfSRE5V2mR+EVp8zKsg hXUn/N3ffvYCXt1aMntcOiWxwWaP/NNB490pBdTSXzGfl3S6O+2s7gZODejxjkqBIcx9Q3 /CGT6h8Ej62B2J8XOEf3je7YRdzr8OQ4Ts8unFSEHvs0Vkck09t5A/lBhlPq4Jcy3g4hZ0 80yrFQ7wgtxKZ1JYuAfs/el5eTpEiZzo5NAR+30nemlkEB9MOtGxdKBdah4Mhg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C50161860A; Sat, 4 Jun 2022 06:00:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2546011V098957; Sat, 4 Jun 2022 06:00:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 254601g7098946; Sat, 4 Jun 2022 06:00:01 GMT (envelope-from git) Date: Sat, 4 Jun 2022 06:00:01 GMT Message-Id: <202206040600.254601g7098946@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 2699604d8eae - stable/13 - libc: Add HISTORY sections to the manual pages List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 2699604d8eaeb58b7ab9773d6299d1cbe50ff3b4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654322402; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lk4rxDPFMvwe0kjZfbAuoABjK+0ewoOcnEIDuof9GMo=; b=MH04EsalrU/ebAcA563/rLvmlIqTogBAzuQOiZbfO+xRtdOwxzWnso9lwIsXjEelLHPS7L E5yg08YjnEr2DhMNSiaxTfgNH6Q/fBUMIAds4nOMWs21gCcSCt0wDqYLk0RluDEt85HrJR ciSSRG3P/oOJpbJWNKjn5dhflwGF8RApGoHQQpXvaDbpmKycCnWaBFrKTGVnGU2bHp7gc/ ynsFDs0Zc6v7/1a+HpnDcdHbHaXFfnW4Nhb0vYKpd1o+PPnKPOvH5E2Vm5TadEJoxQSk5S BOrP8vXB93Fj0BS4dObicg0ODi/eM2/MKlaAUjVo3pOMfHk2frk3IB8W8Tneqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654322402; a=rsa-sha256; cv=none; b=GwB71L6LVXwJyI24ZKYAZje0Gc+f7TALix2jkROMK9+lbHc68GY30b0qpG7qZ61me3zXJa v0Y+g8nWo1+Br0+lAV5I8xXWJLzrsCV3zVxL3ASKveVs4KLrcrOf1jl5B2K6wWiR1o/OpV Y3CjBWJM8Hw7+dJZQAe7S/cfcemVHcygfDbAVLcnjn5FYrIkPFhf2iNTHrM5dZtwclhKft mBNDGFeDomP1jHXPnlx6eccQr5vBTipj8wInXDKtqDdDF1luvvhE2sgtiFmGoHrA9sKVyl 6JDcrcv7V4bEZTJ54JF/bKi7DaQmpZ3Z/uktVRULMBru9WhQTkg4cyP6cblLUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=2699604d8eaeb58b7ab9773d6299d1cbe50ff3b4 commit 2699604d8eaeb58b7ab9773d6299d1cbe50ff3b4 Author: Gordon Bergling AuthorDate: 2022-05-05 16:46:32 +0000 Commit: Gordon Bergling CommitDate: 2022-06-04 05:59:43 +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 Differential Revision: https://reviews.freebsd.org/D34759 (cherry picked from commit 4b7f35db44cbf901e994fc9a4bcd4c98ebe8c4a1) --- 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 .