summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1993-10-14 23:25:28 +0000
committerjtc <jtc@NetBSD.org>1993-10-14 23:25:28 +0000
commitd20a30ce29f9cd0e424fd930eebbdef36fd1b090 (patch)
tree9197ecfaf6bac11ce7cfbbf8db7794d822668aff /lib
parentd208b029245679b6a9d7b43b6f70a5fc849e750a (diff)
Change SYNOPSIS section to use "unsigned" instead of "u_int".
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/alarm.38
-rw-r--r--lib/libc/gen/sleep.312
2 files changed, 12 insertions, 8 deletions
diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3
index bb2d5b09d11..66f5924e946 100644
--- a/lib/libc/gen/alarm.3
+++ b/lib/libc/gen/alarm.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)alarm.3 6.4 (Berkeley) 4/19/91
-.\" $Id: alarm.3,v 1.4 1993/10/04 18:25:58 jtc Exp $
+.\" $Id: alarm.3,v 1.5 1993/10/14 23:25:28 jtc Exp $
.\"
.Dd April 19, 1991
.Dt ALARM 3
@@ -40,8 +40,8 @@
.Nd set signal timer alarm
.Sh SYNOPSIS
.Fd #include <unistd.h>
-.Ft u_int
-.Fn alarm "u_int seconds"
+.Ft unsigned int
+.Fn alarm "unsigned int seconds"
.Sh DESCRIPTION
.Bf -symbolic
This interface is made obsolete by setitimer(2).
@@ -83,7 +83,7 @@ alarm.
.Sh STANDARDS
The
.Fn alarm
-functions conforms to
+function conforms to
.St -p1003.1-90 .
.Sh HISTORY
An
diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3
index 3c62555b1c9..d1541f916d5 100644
--- a/lib/libc/gen/sleep.3
+++ b/lib/libc/gen/sleep.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sleep.3 6.3 (Berkeley) 4/19/91
-.\" $Id: sleep.3,v 1.3 1993/07/30 08:39:16 mycroft Exp $
+.\" $Id: sleep.3,v 1.4 1993/10/14 23:25:31 jtc Exp $
.\"
.Dd April 19, 1991
.Dt SLEEP 3
@@ -40,8 +40,8 @@
.Nd suspend process execution for interval of seconds
.Sh SYNOPSIS
.Fd #include <unistd.h>
-.Ft u_int
-.Fn sleep "u_int seconds"
+.Ft unsigned int
+.Fn sleep "unsigned int seconds"
.Sh DESCRIPTION
The
.Fn sleep
@@ -72,11 +72,15 @@ A similar but less compatible function can be obtained with a single
such a function would not restart after signals, but would not interfere
with other uses of
.Xr setitimer .
-.Sh RETURN VALUES
.Sh SEE ALSO
.Xr setitimer 2 ,
.Xr sigpause 2 ,
.Xr usleep 3
+.Sh STANDARDS
+The
+.Fn sleep
+function conforms to
+.St -p1003.1-90 .
.Sh HISTORY
A
.Fn sleep