summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/unix.mli
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/unix.mli')
-rw-r--r--otherlibs/unix/unix.mli6
1 files changed, 4 insertions, 2 deletions
diff --git a/otherlibs/unix/unix.mli b/otherlibs/unix/unix.mli
index c0fe064b6..61c04c80a 100644
--- a/otherlibs/unix/unix.mli
+++ b/otherlibs/unix/unix.mli
@@ -553,9 +553,11 @@ type interval_timer =
is running and when the system is running on behalf of the
process; it sends [SIGPROF] when expired. *)
+type time_value = float
+
type interval_timer_status =
- { it_interval: float; (* Period *)
- it_value: float } (* Current value of the timer *)
+ { it_interval: time_value; (* Period *)
+ it_value: time_value } (* Current value of the timer *)
(* The type describing the status of an interval timer *)
external getitimer: interval_timer -> interval_timer_status = "unix_getitimer"