summaryrefslogtreecommitdiff
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-09-30 07:39:56 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-09-30 07:40:52 +0200
commitf2d587e6a134c7e11a2dcac18bf3fd64cf027851 (patch)
tree71b56f0fc31bc91bb2902aeb1802b7b95a5e7ccc /man2
parent8f172c56b2ed85181d4995bc2b13a8a23d47e44c (diff)
getitimer.2: Fix types used to declare fields in timeval struct
Reported-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/getitimer.26
1 files changed, 3 insertions, 3 deletions
diff --git a/man2/getitimer.2 b/man2/getitimer.2
index cf0a579a..c2447a19 100644
--- a/man2/getitimer.2
+++ b/man2/getitimer.2
@@ -4,7 +4,7 @@
.\" Modified Tue Oct 22 00:22:35 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
.\" 2005-04-06 mtk, Matthias Lang <matthias@corelatus.se>
.\" Noted MAX_SEC_IN_JIFFIES ceiling
-.TH GETITIMER 2 2009-03-15 "Linux" "Linux Programmer's Manual"
+.TH GETITIMER 2 2012-09-30 "Linux" "Linux Programmer's Manual"
.SH NAME
getitimer, setitimer \- get or set value of an interval timer
.SH SYNOPSIS
@@ -53,8 +53,8 @@ struct itimerval {
};
struct timeval {
- long tv_sec; /* seconds */
- long tv_usec; /* microseconds */
+ time_t tv_sec; /* seconds */
+ suseconds_t tv_usec; /* microseconds */
};
.fi
.in