summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getitimer.2
diff options
context:
space:
mode:
authorjruoho <jruoho@NetBSD.org>2010-04-30 04:17:45 +0000
committerjruoho <jruoho@NetBSD.org>2010-04-30 04:17:45 +0000
commita2ebffc11357d7d33fe87dbb4cd434012a98041e (patch)
tree4e79974f25be73bde35df4d7f898b13f3c4fdb2f /lib/libc/sys/getitimer.2
parenteccc1c42e16bf326047a4826e3cca5451762d2f7 (diff)
Reference timeradd(3).
Diffstat (limited to 'lib/libc/sys/getitimer.2')
-rw-r--r--lib/libc/sys/getitimer.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2
index e68beb518b6..e0cf51ffdab 100644
--- a/lib/libc/sys/getitimer.2
+++ b/lib/libc/sys/getitimer.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: getitimer.2,v 1.23 2010/04/30 04:15:49 jruoho Exp $
+.\" $NetBSD: getitimer.2,v 1.24 2010/04/30 04:17:45 jruoho Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -129,8 +129,9 @@ Because this signal may interrupt in-progress
system calls, programs using this timer must be prepared to
restart interrupted system calls.
.Sh NOTES
-Macros for manipulating time values are defined in
-.Ao Pa sys/time.h Ac .
+Macros for manipulating time values are defined in the
+.In sys/time.h
+header;
.Fn timerclear
sets a time value to zero,
.Fn timerisset
@@ -141,6 +142,8 @@ compares two time values,
adds a time value to another time value,
.Fn timersub
computes the time difference between two time values.
+For additional details, see
+.Xr timeradd 3 .
.Sh RETURN VALUES
If the calls succeed, a value of 0 is returned.
If an error occurs, the value \-1 is returned, and a more precise error