aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Time.hsc
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2014-12-06 17:08:06 +0100
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2014-12-06 17:08:06 +0100
commit078666f4399f368e2f3dd82b5081dc1ad9b9fdc2 (patch)
tree247882ab50a9e32a659aa513751f9e16ec310207 /System/Posix/Time.hsc
parent558b0fb4eaa4aebc823022b3e1d560da3faad658 (diff)
`M-x untabify` && `M-x delete-trailing-whitespace`
Diffstat (limited to 'System/Posix/Time.hsc')
-rw-r--r--System/Posix/Time.hsc10
1 files changed, 5 insertions, 5 deletions
diff --git a/System/Posix/Time.hsc b/System/Posix/Time.hsc
index 4ebc8ac..91b8fad 100644
--- a/System/Posix/Time.hsc
+++ b/System/Posix/Time.hsc
@@ -6,7 +6,7 @@
-- Module : System.Posix.Time
-- Copyright : (c) The University of Glasgow 2002
-- License : BSD-style (see the file libraries/base/LICENSE)
---
+--
-- Maintainer : libraries@haskell.org
-- Stability : provisional
-- Portability : non-portable (requires POSIX)
@@ -16,9 +16,9 @@
-----------------------------------------------------------------------------
module System.Posix.Time (
- epochTime,
- -- ToDo: lots more from sys/time.h
- -- how much already supported by System.Time?
+ epochTime,
+ -- ToDo: lots more from sys/time.h
+ -- how much already supported by System.Time?
) where
#include "HsUnix.h"
@@ -30,7 +30,7 @@ import Foreign.C
-- -----------------------------------------------------------------------------
-- epochTime
--- | @epochTime@ calls @time@ to obtain the number of
+-- | @epochTime@ calls @time@ to obtain the number of
-- seconds that have elapsed since the epoch (Jan 01 00:00:00 GMT 1970).
epochTime :: IO EpochTime
epochTime = throwErrnoIfMinus1 "epochTime" (c_time nullPtr)