diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2013-10-12 13:21:47 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2013-10-12 13:21:47 +0200 |
commit | 23f35ae77c968d090b606eb8cc42003f10c5fbc0 (patch) | |
tree | 840fef2ca6efce97cefa5bf6f8bdc2d543657659 /System | |
parent | 43de23c79db9e6e9a6de984b964cc9bdf74e50c2 (diff) |
Add `changelog` file and `/Since: 2.7.0.0/` notes
The changelog file will be shown on Hackage once it's included in the
source tarball.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'System')
-rw-r--r-- | System/Posix/Files.hsc | 6 | ||||
-rw-r--r-- | System/Posix/Files/Common.hsc | 4 | ||||
-rw-r--r-- | System/Posix/Process/Internals.hs | 2 | ||||
-rw-r--r-- | System/Posix/Signals.hsc | 8 |
4 files changed, 18 insertions, 2 deletions
diff --git a/System/Posix/Files.hsc b/System/Posix/Files.hsc index 6709e3b..8268492 100644 --- a/System/Posix/Files.hsc +++ b/System/Posix/Files.hsc @@ -344,6 +344,8 @@ setFileTimes name atime mtime = do -- | Like 'setFileTimes' but timestamps can have sub-second resolution. -- -- Note: calls @utimensat@ or @utimes@. +-- +-- /Since: 2.7.0.0/ setFileTimesHiRes :: FilePath -> POSIXTime -> POSIXTime -> IO () #ifdef HAVE_UTIMENSAT setFileTimesHiRes name atime mtime = @@ -363,6 +365,8 @@ setFileTimesHiRes name atime mtime = -- this function will raise an exception. -- -- Note: calls @utimensat@ or @lutimes@. +-- +-- /Since: 2.7.0.0/ setSymbolicLinkTimesHiRes :: FilePath -> POSIXTime -> POSIXTime -> IO () #if HAVE_UTIMENSAT setSymbolicLinkTimesHiRes name atime mtime = @@ -395,6 +399,8 @@ touchFile name = do -- this function will raise an exception. -- -- Note: calls @lutimes@. +-- +-- /Since: 2.7.0.0/ touchSymbolicLink :: FilePath -> IO () #if HAVE_LUTIMES touchSymbolicLink name = diff --git a/System/Posix/Files/Common.hsc b/System/Posix/Files/Common.hsc index f296336..9ce2f1d 100644 --- a/System/Posix/Files/Common.hsc +++ b/System/Posix/Files/Common.hsc @@ -463,6 +463,8 @@ foreign import ccall unsafe "futimes" -- this function will raise an exception. -- -- Note: calls @futimens@ or @futimes@. +-- +-- /Since: 2.7.0.0/ setFdTimesHiRes :: Fd -> POSIXTime -> POSIXTime -> IO () #if HAVE_FUTIMENS setFdTimesHiRes (Fd fd) atime mtime = @@ -482,6 +484,8 @@ setFdTimesHiRes = -- this function will raise an exception. -- -- Note: calls @futimes@. +-- +-- /Since: 2.7.0.0/ touchFd :: Fd -> IO () #if HAVE_FUTIMES touchFd (Fd fd) = diff --git a/System/Posix/Process/Internals.hs b/System/Posix/Process/Internals.hs index 8e4f451..bd3dd31 100644 --- a/System/Posix/Process/Internals.hs +++ b/System/Posix/Process/Internals.hs @@ -20,6 +20,8 @@ data ProcessStatus | Terminated Signal Bool -- ^ the process was terminated by a -- signal, the @Bool@ is @True@ if a core -- dump was produced + -- + -- /Since: 2.7.0.0/ | Stopped Signal -- ^ the process was stopped by a signal deriving (Eq, Ord, Show) diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc index 16761b9..39de76b 100644 --- a/System/Posix/Signals.hsc +++ b/System/Posix/Signals.hsc @@ -314,11 +314,13 @@ data Handler = Default -- not yet: | Hold | Catch (IO ()) | CatchOnce (IO ()) - | CatchInfo (SignalInfo -> IO ()) - | CatchInfoOnce (SignalInfo -> IO ()) + | CatchInfo (SignalInfo -> IO ()) -- ^ /Since: 2.7.0.0/ + | CatchInfoOnce (SignalInfo -> IO ()) -- ^ /Since: 2.7.0.0/ deriving (Typeable) -- | Information about a received signal (derived from @siginfo_t@). +-- +-- /Since: 2.7.0.0/ data SignalInfo = SignalInfo { siginfoSignal :: Signal, siginfoError :: Errno, @@ -327,6 +329,8 @@ data SignalInfo = SignalInfo { -- | Information specific to a particular type of signal -- (derived from @siginfo_t@). +-- +-- /Since: 2.7.0.0/ data SignalSpecificInfo = NoSignalSpecificInfo | SigChldInfo { |