summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2013-07-17 05:42:10 +0000
committerschwarze <schwarze@openbsd.org>2013-07-17 05:42:10 +0000
commit23fbb714ee0d9e87b8c1fa165af1f555294785eb (patch)
tree248b04849e966acb09eff7ac5b30e5ad56bcc86c /lib/libc/gen
parentEnable jfb-style acceleration on XVR-600. (diff)
downloadwireguard-openbsd-23fbb714ee0d9e87b8c1fa165af1f555294785eb.tar.xz
wireguard-openbsd-23fbb714ee0d9e87b8c1fa165af1f555294785eb.zip
more library history
facts checked by sobrado@ style tweaks and ok jmc@
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/alarm.312
-rw-r--r--lib/libc/gen/ctype.319
-rw-r--r--lib/libc/gen/exec.323
-rw-r--r--lib/libc/gen/fnmatch.38
-rw-r--r--lib/libc/gen/getcwd.312
-rw-r--r--lib/libc/gen/getpwnam.39
-rw-r--r--lib/libc/gen/isalnum.39
-rw-r--r--lib/libc/gen/isascii.39
-rw-r--r--lib/libc/gen/iscntrl.39
-rw-r--r--lib/libc/gen/isdigit.39
-rw-r--r--lib/libc/gen/islower.39
-rw-r--r--lib/libc/gen/isprint.39
-rw-r--r--lib/libc/gen/ispunct.39
-rw-r--r--lib/libc/gen/isspace.39
-rw-r--r--lib/libc/gen/isupper.39
-rw-r--r--lib/libc/gen/nlist.310
-rw-r--r--lib/libc/gen/pause.321
-rw-r--r--lib/libc/gen/setjmp.310
-rw-r--r--lib/libc/gen/signal.319
-rw-r--r--lib/libc/gen/time.38
-rw-r--r--lib/libc/gen/times.317
21 files changed, 194 insertions, 55 deletions
diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3
index 13f3d242847..1d6deeee23e 100644
--- a/lib/libc/gen/alarm.3
+++ b/lib/libc/gen/alarm.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: alarm.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: alarm.3,v 1.13 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt ALARM 3
.Os
.Sh NAME
@@ -88,5 +88,11 @@ function conforms to
.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/ctype.3 b/lib/libc/gen/ctype.3
index bc579c1af1e..82116c6c07f 100644
--- a/lib/libc/gen/ctype.3
+++ b/lib/libc/gen/ctype.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctype.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: ctype.3,v 1.11 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991 Regents of the University of California.
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt CTYPE 3
.Os
.Sh NAME
@@ -99,3 +99,18 @@ and
.Fn toascii ,
conform to
.St -ansiC .
+.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/gen/exec.3 b/lib/libc/gen/exec.3
index c8ad7bada88..52ac332ee9a 100644
--- a/lib/libc/gen/exec.3
+++ b/lib/libc/gen/exec.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: exec.3,v 1.22 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: exec.3,v 1.23 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt EXEC 3
.Os
.Sh NAME
@@ -237,3 +237,22 @@ conform to
.St -p1003.1-88 .
.Fn execvpe
is a GNU extension.
+.Sh HISTORY
+The functions
+.Fn execl
+and
+.Fn execv
+first appeared in
+.At v2 .
+A predecessor to
+.Fn execvp ,
+.Fn pexec ,
+first appeared in the Programmer's Workbench (PWB/UNIX).
+The functions
+.Fn execle ,
+.Fn execlp ,
+.Fn execve ,
+and
+.Fn execvp
+first appeared in
+.At v7 .
diff --git a/lib/libc/gen/fnmatch.3 b/lib/libc/gen/fnmatch.3
index 06b25b52964..7812d4d0884 100644
--- a/lib/libc/gen/fnmatch.3
+++ b/lib/libc/gen/fnmatch.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fnmatch.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: fnmatch.3,v 1.15 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\"
.\" @(#)fnmatch.3 8.3 (Berkeley) 4/28/95
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt FNMATCH 3
.Os
.Sh NAME
@@ -141,6 +141,10 @@ and
are extensions and should not be used by applications striving for
strict standards conformance.
.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/getcwd.3 b/lib/libc/gen/getcwd.3
index 1b8a09094c9..3563de9879a 100644
--- a/lib/libc/gen/getcwd.3
+++ b/lib/libc/gen/getcwd.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getcwd.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: getcwd.3,v 1.14 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt GETCWD 3
.Os
.Sh NAME
@@ -135,8 +135,12 @@ allocate memory as necessary is an extension.
.Sh HISTORY
The
.Fn getwd
-function appeared in
-.Bx 4.0 .
+function first appeared in
+.Bx 4.0 ,
+and
+.Fn getcwd
+in
+.Bx 4.3 Net2 .
.Sh BUGS
The
.Fn getwd
diff --git a/lib/libc/gen/getpwnam.3 b/lib/libc/gen/getpwnam.3
index 93a317fcbd0..3ce771b7350 100644
--- a/lib/libc/gen/getpwnam.3
+++ b/lib/libc/gen/getpwnam.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getpwnam.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: getpwnam.3,v 1.4 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt GETPWNAM 3
.Os
.Sh NAME
@@ -188,6 +188,11 @@ a Version 7 format password file
.Xr vipw 8 ,
.Xr yp 8
.Sh HISTORY
+A predecessor to
+.Fn getpwuid ,
+.Fn getpw ,
+first appeared in
+.At v4 .
The
.Fn getpwnam
and
diff --git a/lib/libc/gen/isalnum.3 b/lib/libc/gen/isalnum.3
index 3cd0a90048d..d272be2d229 100644
--- a/lib/libc/gen/isalnum.3
+++ b/lib/libc/gen/isalnum.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isalnum.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
+.\" $OpenBSD: isalnum.3,v 1.11 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 6 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt ISALNUM 3
.Os
.Sh NAME
@@ -77,6 +77,11 @@ The
.Fn isalnum
function conforms to
.St -ansiC .
+.Sh HISTORY
+The
+.Fn isalnum
+function first appeared in
+.At v7 .
.Sh CAVEATS
The argument to
.Fn isalnum
diff --git a/lib/libc/gen/isascii.3 b/lib/libc/gen/isascii.3
index a60c8760221..65cb63d7ad5 100644
--- a/lib/libc/gen/isascii.3
+++ b/lib/libc/gen/isascii.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isascii.3,v 1.12 2013/07/06 17:31:20 jmc Exp $
+.\" $OpenBSD: isascii.3,v 1.13 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 6 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt ISASCII 3
.Os
.Sh NAME
@@ -72,6 +72,11 @@ The
.Fn isascii
function conforms to
.St -xpg4 .
+.Sh HISTORY
+The
+.Fn isascii
+function first appeared in
+.At v7 .
.Sh CAVEATS
The argument to
.Fn isascii
diff --git a/lib/libc/gen/iscntrl.3 b/lib/libc/gen/iscntrl.3
index 2412fa01340..53f261850f4 100644
--- a/lib/libc/gen/iscntrl.3
+++ b/lib/libc/gen/iscntrl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: iscntrl.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
+.\" $OpenBSD: iscntrl.3,v 1.11 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 6 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt ISCNTRL 3
.Os
.Sh NAME
@@ -73,6 +73,11 @@ The
.Fn iscntrl
function conforms to
.St -ansiC .
+.Sh HISTORY
+The
+.Fn iscntrl
+function first appeared in
+.At v7 .
.Sh CAVEATS
The argument to
.Fn iscntrl
diff --git a/lib/libc/gen/isdigit.3 b/lib/libc/gen/isdigit.3
index 9e791223ae0..d7cfa1712df 100644
--- a/lib/libc/gen/isdigit.3
+++ b/lib/libc/gen/isdigit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isdigit.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
+.\" $OpenBSD: isdigit.3,v 1.11 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 6 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt ISDIGIT 3
.Os
.Sh NAME
@@ -73,6 +73,11 @@ The
.Fn isdigit
function conforms to
.St -ansiC .
+.Sh HISTORY
+The
+.Fn isdigit
+function first appeared in
+.At v7 .
.Sh CAVEATS
The argument to
.Fn isdigit
diff --git a/lib/libc/gen/islower.3 b/lib/libc/gen/islower.3
index b0baa6a062c..c5194f0d55c 100644
--- a/lib/libc/gen/islower.3
+++ b/lib/libc/gen/islower.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: islower.3,v 1.11 2013/07/06 17:31:20 jmc Exp $
+.\" $OpenBSD: islower.3,v 1.12 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 6 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt ISLOWER 3
.Os
.Sh NAME
@@ -85,6 +85,11 @@ The
.Fn islower
function conforms to
.St -ansiC .
+.Sh HISTORY
+The
+.Fn islower
+function first appeared in
+.At v7 .
.Sh CAVEATS
The argument to
.Fn islower
diff --git a/lib/libc/gen/isprint.3 b/lib/libc/gen/isprint.3
index d8d83b2d1a1..46f0b1fb4c1 100644
--- a/lib/libc/gen/isprint.3
+++ b/lib/libc/gen/isprint.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isprint.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
+.\" $OpenBSD: isprint.3,v 1.11 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 6 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt ISPRINT 3
.Os
.Sh NAME
@@ -74,6 +74,11 @@ The
.Fn isprint
function conforms to
.St -ansiC .
+.Sh HISTORY
+The
+.Fn isprint
+function first appeared in
+.At v7 .
.Sh CAVEATS
The argument to
.Fn isprint
diff --git a/lib/libc/gen/ispunct.3 b/lib/libc/gen/ispunct.3
index 508fda14618..e41059c21c7 100644
--- a/lib/libc/gen/ispunct.3
+++ b/lib/libc/gen/ispunct.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ispunct.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
+.\" $OpenBSD: ispunct.3,v 1.11 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 6 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt ISPUNCT 3
.Os
.Sh NAME
@@ -77,6 +77,11 @@ The
.Fn ispunct
function conforms to
.St -ansiC .
+.Sh HISTORY
+The
+.Fn ispunct
+function first appeared in
+.At v7 .
.Sh CAVEATS
The argument to
.Fn ispunct
diff --git a/lib/libc/gen/isspace.3 b/lib/libc/gen/isspace.3
index ce59e397055..a2e2fa2dba1 100644
--- a/lib/libc/gen/isspace.3
+++ b/lib/libc/gen/isspace.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isspace.3,v 1.12 2013/07/06 17:31:20 jmc Exp $
+.\" $OpenBSD: isspace.3,v 1.13 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 6 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt ISSPACE 3
.Os
.Sh NAME
@@ -98,6 +98,11 @@ The
.Fn isspace
function conforms to
.St -ansiC .
+.Sh HISTORY
+The
+.Fn isspace
+function first appeared in
+.At v7 .
.Sh CAVEATS
The argument to
.Fn isspace
diff --git a/lib/libc/gen/isupper.3 b/lib/libc/gen/isupper.3
index c32fe22e5e3..364d62eb3fa 100644
--- a/lib/libc/gen/isupper.3
+++ b/lib/libc/gen/isupper.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isupper.3,v 1.12 2013/07/06 17:31:20 jmc Exp $
+.\" $OpenBSD: isupper.3,v 1.13 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 6 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt ISUPPER 3
.Os
.Sh NAME
@@ -83,6 +83,11 @@ The
.Fn isupper
function conforms to
.St -ansiC .
+.Sh HISTORY
+The
+.Fn isupper
+function first appeared in
+.At v7 .
.Sh CAVEATS
The argument to
.Fn isupper
diff --git a/lib/libc/gen/nlist.3 b/lib/libc/gen/nlist.3
index 2caafea0289..7ef45b7b9a8 100644
--- a/lib/libc/gen/nlist.3
+++ b/lib/libc/gen/nlist.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nlist.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: nlist.3,v 1.12 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt NLIST 3
.Os
.Sh NAME
@@ -70,7 +70,7 @@ does not exist or is not an executable, the returned value is \-1.
.Sh SEE ALSO
.Xr a.out 5
.Sh HISTORY
-A
+An
.Fn nlist
-function appeared in
-.At v6 .
+function first appeared in
+.At v3 .
diff --git a/lib/libc/gen/pause.3 b/lib/libc/gen/pause.3
index 0a65363e20c..7409c432ecc 100644
--- a/lib/libc/gen/pause.3
+++ b/lib/libc/gen/pause.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pause.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: pause.3,v 1.13 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt PAUSE 3
.Os
.Sh NAME
@@ -76,5 +76,18 @@ The call was interrupted.
.Sh HISTORY
A
.Fn pause
-system call 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 4ecc7ab50f7..e276617e200 100644
--- a/lib/libc/gen/setjmp.3
+++ b/lib/libc/gen/setjmp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setjmp.3,v 1.23 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: setjmp.3,v 1.24 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt SETJMP 3
.Os
.Sh NAME
@@ -194,6 +194,12 @@ and
.Fn siglongjmp
functions conform to
.St -p1003.1-90 .
+.Sh HISTORY
+The
+.Fn setjmp
+and
+.Fn longjmp
+functions first appeared in the Programmer's Workbench (PWB/UNIX).
.Sh CAVEATS
Historically, on
.At V ,
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index c5e837541f2..3348ec587db 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: signal.3,v 1.41 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: signal.3,v 1.42 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt SIGNAL 3
.Os
.Sh NAME
@@ -484,7 +484,16 @@ or
.Xr siginterrupt 3 ,
.Xr tty 4
.Sh HISTORY
-This
+A
.Fn signal
-facility appeared in
-.Bx 4.0 .
+system call first appeared in
+.At v4 .
+In
+.Bx 4.2 ,
+it was reimplemented as a wrapper around the former
+.Fn sigvec
+system call, and for
+.Bx 4.3 Reno ,
+it was rewritten to use
+.Xr sigaction 2
+instead.
diff --git a/lib/libc/gen/time.3 b/lib/libc/gen/time.3
index a95d6c4f9ad..53cfaba40b3 100644
--- a/lib/libc/gen/time.3
+++ b/lib/libc/gen/time.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: time.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: time.3,v 1.15 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt TIME 3
.Os
.Sh NAME
@@ -76,8 +76,8 @@ An argument address referenced invalid memory.
.Sh HISTORY
A
.Fn time
-function appeared in
-.At v2
+system call first appeared in
+.At v1
and used to return time in sixtieths of a second in 32 bits,
which was to guarantee a crisis every 2.26 years.
Since
diff --git a/lib/libc/gen/times.3 b/lib/libc/gen/times.3
index db05d178036..c66750b9f3c 100644
--- a/lib/libc/gen/times.3
+++ b/lib/libc/gen/times.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: times.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: times.3,v 1.14 2013/07/17 05:42:11 schwarze Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt TIMES 3
.Os
.Sh NAME
@@ -132,3 +132,16 @@ The
.Fn times
function conforms to
.St -p1003.1-88 .
+.Sh HISTORY
+A
+.Fn times
+function first appeared in
+.At v3 .
+The tms structure first appeared in
+.Bx 4.0
+and was changed to use
+.Vt clock_t
+instead of
+.Vt time_t
+for its members in
+.Bx 4.3 Net/2 .