Skip to content

Commit b7fa405

Browse files
committed
Convert /since/ to @SInCE syntax
1 parent 861ad25 commit b7fa405

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

System/Posix/Fcntl.hsc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
--
1717
-- POSIX file control support
1818
--
19-
-- /Since: 2.7.1.0/
19+
-- @since 2.7.1.0
2020
-----------------------------------------------------------------------------
2121

2222
#include "HsUnix.h"
@@ -44,7 +44,7 @@ import GHC.IO.Exception ( unsupportedOperation )
4444
--
4545
-- For more details, see documentation of @posix_fadvise(2)@.
4646
--
47-
-- /Since: 2.7.1.0/
47+
-- @since 2.7.1.0
4848
data Advice
4949
= AdviceNormal
5050
| AdviceRandom
@@ -61,7 +61,7 @@ data Advice
6161
--
6262
-- (use @#if HAVE_POSIX_FADVISE@ CPP guard to detect availability)
6363
--
64-
-- /Since: 2.7.1.0/
64+
-- @since 2.7.1.0
6565
fileAdvise :: Fd -> FileOffset -> FileOffset -> Advice -> IO ()
6666
#if HAVE_POSIX_FADVISE
6767
fileAdvise fd off len adv = do
@@ -88,7 +88,7 @@ fileAdvise _ _ _ _ = return ()
8888
--
8989
-- (use @#if HAVE_POSIX_FALLOCATE@ CPP guard to detect availability).
9090
--
91-
-- /Since: 2.7.1.0/
91+
-- @since 2.7.1.0
9292
fileAllocate :: Fd -> FileOffset -> FileOffset -> IO ()
9393
#if HAVE_POSIX_FALLOCATE
9494
fileAllocate fd off len = do

System/Posix/Files.hsc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ setFileTimes name atime mtime = do
347347
--
348348
-- Note: calls @utimensat@ or @utimes@.
349349
--
350-
-- /Since: 2.7.0.0/
350+
-- @since 2.7.0.0
351351
setFileTimesHiRes :: FilePath -> POSIXTime -> POSIXTime -> IO ()
352352
#ifdef HAVE_UTIMENSAT
353353
setFileTimesHiRes name atime mtime =
@@ -368,7 +368,7 @@ setFileTimesHiRes name atime mtime =
368368
--
369369
-- Note: calls @utimensat@ or @lutimes@.
370370
--
371-
-- /Since: 2.7.0.0/
371+
-- @since 2.7.0.0
372372
setSymbolicLinkTimesHiRes :: FilePath -> POSIXTime -> POSIXTime -> IO ()
373373
#if HAVE_UTIMENSAT
374374
setSymbolicLinkTimesHiRes name atime mtime =
@@ -402,7 +402,7 @@ touchFile name = do
402402
--
403403
-- Note: calls @lutimes@.
404404
--
405-
-- /Since: 2.7.0.0/
405+
-- @since 2.7.0.0
406406
touchSymbolicLink :: FilePath -> IO ()
407407
#if HAVE_LUTIMES
408408
touchSymbolicLink name =

System/Posix/Files/Common.hsc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ foreign import ccall unsafe "futimes"
467467
--
468468
-- Note: calls @futimens@ or @futimes@.
469469
--
470-
-- /Since: 2.7.0.0/
470+
-- @since 2.7.0.0
471471
setFdTimesHiRes :: Fd -> POSIXTime -> POSIXTime -> IO ()
472472
#if HAVE_FUTIMENS
473473
setFdTimesHiRes (Fd fd) atime mtime =
@@ -488,7 +488,7 @@ setFdTimesHiRes =
488488
--
489489
-- Note: calls @futimes@.
490490
--
491-
-- /Since: 2.7.0.0/
491+
-- @since 2.7.0.0
492492
touchFd :: Fd -> IO ()
493493
#if HAVE_FUTIMES
494494
touchFd (Fd fd) =

System/Posix/Process/Common.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ foreign import ccall "forkProcess" forkProcessPrim :: StablePtr (IO ()) -> IO CP
301301

302302
-- | Variant of 'forkProcess' in the style of 'forkIOWithUnmask'.
303303
--
304-
-- /Since: 2.7.0.0/
304+
-- @since 2.7.0.0
305305
forkProcessWithUnmask :: ((forall a . IO a -> IO a) -> IO ()) -> IO ProcessID
306306
forkProcessWithUnmask action = forkProcess (action unsafeUnmask)
307307

System/Posix/Process/Internals.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ data ProcessStatus
1919
-- signal, the @Bool@ is @True@ if a core
2020
-- dump was produced
2121
--
22-
-- /Since: 2.7.0.0/
22+
-- @since 2.7.0.0
2323
| Stopped Signal -- ^ the process was stopped by a signal
2424
deriving (Eq, Ord, Show)
2525

System/Posix/Signals.hsc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,13 +310,13 @@ data Handler = Default
310310
-- not yet: | Hold
311311
| Catch (IO ())
312312
| CatchOnce (IO ())
313-
| CatchInfo (SignalInfo -> IO ()) -- ^ /Since: 2.7.0.0/
314-
| CatchInfoOnce (SignalInfo -> IO ()) -- ^ /Since: 2.7.0.0/
313+
| CatchInfo (SignalInfo -> IO ()) -- ^ @since 2.7.0.0
314+
| CatchInfoOnce (SignalInfo -> IO ()) -- ^ @since 2.7.0.0
315315
deriving (Typeable)
316316

317317
-- | Information about a received signal (derived from @siginfo_t@).
318318
--
319-
-- /Since: 2.7.0.0/
319+
-- @since 2.7.0.0
320320
data SignalInfo = SignalInfo {
321321
siginfoSignal :: Signal,
322322
siginfoError :: Errno,
@@ -326,7 +326,7 @@ data SignalInfo = SignalInfo {
326326
-- | Information specific to a particular type of signal
327327
-- (derived from @siginfo_t@).
328328
--
329-
-- /Since: 2.7.0.0/
329+
-- @since 2.7.0.0
330330
data SignalSpecificInfo
331331
= NoSignalSpecificInfo
332332
| SigChldInfo {

System/Posix/Unistd.hsc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ foreign import ccall unsafe "sysconf"
227227
-- provide @fsync(2)@ (use @#if HAVE_FSYNC@ CPP guard to
228228
-- detect availability).
229229
--
230-
-- /Since: 2.7.1.0/
230+
-- @since 2.7.1.0
231231
fileSynchronise :: Fd -> IO ()
232232
#if HAVE_FSYNC
233233
fileSynchronise fd = do
@@ -248,7 +248,7 @@ fileSynchronise _ = ioError (ioeSetLocation unsupportedOperation
248248
-- provide @fdatasync(2)@ (use @#if HAVE_FDATASYNC@ CPP guard to
249249
-- detect availability).
250250
--
251-
-- /Since: 2.7.1.0/
251+
-- @since 2.7.1.0
252252
fileSynchroniseDataOnly :: Fd -> IO ()
253253
#if HAVE_FDATASYNC
254254
fileSynchroniseDataOnly fd = do

0 commit comments

Comments
 (0)