Module Name: src
Committed By: jruoho
Date: Fri Apr 30 04:17:45 UTC 2010
Modified Files:
src/lib/libc/sys: getitimer.2
Log Message:
Reference timeradd(3).
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/sys/getitimer.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/getitimer.2
diff -u src/lib/libc/sys/getitimer.2:1.23 src/lib/libc/sys/getitimer.2:1.24
--- src/lib/libc/sys/getitimer.2:1.23 Fri Apr 30 04:15:49 2010
+++ src/lib/libc/sys/getitimer.2 Fri Apr 30 04:17:45 2010
@@ -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 @@
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 @@
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