Safe Haskell | None |
---|---|
Language | Haskell2010 |
Haskell bindings to the C time library.
- data C'tm = C'tm {}
- data C'timespec = C'timespec {}
- p'timespec'tv_sec :: Ptr C'timespec -> Ptr CLong
- data C'timeval = C'timeval {}
- p'timespec'tv_nsec :: Ptr C'timespec -> Ptr CLong
- c'timegm :: Ptr C'tm -> IO CTime
- c'gmtime_r :: Ptr CTime -> Ptr C'tm -> IO (Ptr C'tm)
- p'tm'tm_sec :: Ptr C'tm -> Ptr CInt
- p'timegm :: FunPtr (Ptr C'tm -> IO CTime)
- c'gettimeofday :: Ptr C'timeval -> Ptr () -> IO CInt
- p'timeval'tv_sec :: Ptr C'timeval -> Ptr CLong
- p'gmtime_r :: FunPtr (Ptr CTime -> Ptr C'tm -> IO (Ptr C'tm))
- p'tm'tm_min :: Ptr C'tm -> Ptr CInt
- p'gettimeofday :: FunPtr (Ptr C'timeval -> Ptr () -> IO CInt)
- p'timeval'tv_usec :: Ptr C'timeval -> Ptr CLong
- p'tm'tm_hour :: Ptr C'tm -> Ptr CInt
- p'tm'tm_mday :: Ptr C'tm -> Ptr CInt
- p'tm'tm_mon :: Ptr C'tm -> Ptr CInt
- getTimeOfDay :: IO C'timeval
- p'tm'tm_year :: Ptr C'tm -> Ptr CInt
- p'tm'tm_wday :: Ptr C'tm -> Ptr CInt
- p'tm'tm_yday :: Ptr C'tm -> Ptr CInt
- p'tm'tm_isdst :: Ptr C'tm -> Ptr CInt
- p'tm'tm_gmtoff :: Ptr C'tm -> Ptr CLong
- p'tm'tm_zone :: Ptr C'tm -> Ptr CString
Documentation
C'tm | |
|
data C'timespec Source
p'timespec'tv_sec :: Ptr C'timespec -> Ptr CLong Source
getTimeOfDay :: IO C'timeval Source
Get the current Unix date and time from the system clock.