Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107005679
D34759.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
14 KB
Referenced Files
None
Subscribers
None
D34759.diff
View Options
diff --git a/lib/libc/compat-43/sigvec.2 b/lib/libc/compat-43/sigvec.2
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
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
--- 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 @@
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
--- 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 @@
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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.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
--- 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 @@
.Fn tanh
function conforms to
.St -isoC .
+.Sh HISTORY
+The
+.Fn tanh
+function first appeared in
+.At v7 .
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 8:46 PM (9 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15735722
Default Alt Text
D34759.diff (14 KB)
Attached To
Mode
D34759: libc: Add HISTORY sections to the manual pages
Attached
Detach File
Event Timeline
Log In to Comment