Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Reference timeradd(3).
details: https://anonhg.NetBSD.org/src/rev/326de62e54df
branches: trunk
changeset: 754415:326de62e54df
user: jruoho <jruoho%NetBSD.org@localhost>
date: Fri Apr 30 04:17:45 2010 +0000
description:
Reference timeradd(3).
diffstat:
lib/libc/sys/getitimer.2 | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 3ebda78f7178 -r 326de62e54df lib/libc/sys/getitimer.2
--- a/lib/libc/sys/getitimer.2 Fri Apr 30 04:15:49 2010 +0000
+++ b/lib/libc/sys/getitimer.2 Fri Apr 30 04:17:45 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index