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
This commit is contained in:
Gordon Bergling 2022-05-05 18:46:32 +02:00
parent 4ac4b12699
commit 4b7f35db44
31 changed files with 263 additions and 35 deletions

View File

@ -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.

View File

@ -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 .

View File

@ -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.

View File

@ -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

View File

@ -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 .

View File

@ -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).

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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

View File

@ -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.

View File

@ -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 .

View File

@ -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

View File

@ -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 .

View File

@ -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

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .