summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2013-07-18 10:14:51 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2013-07-18 10:14:51 +0000
commit36697312deef3a478248f46055b72f47517ddea9 (patch)
treef1e85a165a8237f88c34279a0cfdf35c7f62581d /lib/libc/gen
parent35de9023185909ed21dc6a8b748a6568f3138910 (diff)
HISTORY; tweaks and ok sobrado@ jmc@
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/fabs.39
-rw-r--r--lib/libc/gen/isalpha.39
-rw-r--r--lib/libc/gen/nice.312
-rw-r--r--lib/libc/gen/sleep.319
4 files changed, 37 insertions, 12 deletions
diff --git a/lib/libc/gen/fabs.3 b/lib/libc/gen/fabs.3
index 433edb9d673..72e602cbb46 100644
--- a/lib/libc/gen/fabs.3
+++ b/lib/libc/gen/fabs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fabs.3,v 1.2 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: fabs.3,v 1.3 2013/07/18 10:14:48 schwarze Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)fabs.3 5.1 (Berkeley) 5/2/91
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 18 2013 $
.Dt FABS 3
.Os
.Sh NAME
@@ -76,3 +76,8 @@ The
.Fn fabs
function conforms to
.St -ansiC .
+.Sh HISTORY
+An
+.Fn fabs
+function first appeared in
+.At v6 .
diff --git a/lib/libc/gen/isalpha.3 b/lib/libc/gen/isalpha.3
index ef75c3ceb73..041c69dd532 100644
--- a/lib/libc/gen/isalpha.3
+++ b/lib/libc/gen/isalpha.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isalpha.3,v 1.11 2013/07/06 17:31:20 jmc Exp $
+.\" $OpenBSD: isalpha.3,v 1.12 2013/07/18 10:14:48 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 18 2013 $
.Dt ISALPHA 3
.Os
.Sh NAME
@@ -92,6 +92,11 @@ The
.Fn isalpha
function conforms to
.St -ansiC .
+.Sh HISTORY
+The
+.Fn isalpha
+function first appeared in
+.At v7 .
.Sh CAVEATS
The argument to
.Fn isalpha
diff --git a/lib/libc/gen/nice.3 b/lib/libc/gen/nice.3
index aa6ff97a54f..6139878764c 100644
--- a/lib/libc/gen/nice.3
+++ b/lib/libc/gen/nice.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nice.3,v 1.17 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: nice.3,v 1.18 2013/07/18 10:14:48 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 18 2013 $
.Dt NICE 3
.Os
.Sh NAME
@@ -84,5 +84,9 @@ has the same failure conditions as
.Sh HISTORY
A
.Fn nice
-system call appeared in
-.At v6 .
+system call first appeared in
+.At v3 .
+It has accepted an
+.Fa incr
+argument since
+.At v4 .
diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3
index 158c69d43dd..1d082cd2be6 100644
--- a/lib/libc/gen/sleep.3
+++ b/lib/libc/gen/sleep.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sleep.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: sleep.3,v 1.14 2013/07/18 10:14:49 schwarze Exp $
.\"
.\" Copyright (c) 1986, 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 18 2013 $
.Dt SLEEP 3
.Os
.Sh NAME
@@ -79,5 +79,16 @@ function conforms to
.Sh HISTORY
A
.Fn sleep
-function appeared in
-.At v7 .
+system call first appeared in
+.At v3 .
+In
+.At v7 ,
+it was removed and replaced by a C library implementation based on
+.Xr signal 3
+and
+.Xr alarm 3 .
+For
+.Ox 2.1 ,
+it was reimplemented as a wrapper around the
+.Xr nanosleep 2
+system call.