From 2b00ad9b3ed6513bc310d0cbd1f9cd317afd29f9 Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 24 Feb 2005 09:58:27 +0000 Subject: [project @ 2005-02-24 09:58:27 by simonmar] nDoc fixes from Sven Panne. Generally fixing of Haddock links, adding some signatures, and in some cases exporting type constructors that are mentioned in the types of exported identifiers. --- System/Posix/DynamicLinker/Prim.hsc | 4 ++-- System/Posix/Env.hsc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/System/Posix/DynamicLinker/Prim.hsc b/System/Posix/DynamicLinker/Prim.hsc index 00457f1..2ab3a20 100644 --- a/System/Posix/DynamicLinker/Prim.hsc +++ b/System/Posix/DynamicLinker/Prim.hsc @@ -106,8 +106,8 @@ packRTLDFlag RTLD_LOCAL = #const RTLD_LOCAL packRTLDFlag RTLD_LOCAL = error "RTLD_LOCAL not available" #endif /* HAVE_RTLDLOCAL */ --- |Flags for 'dlsym'. Notice that @Next@ might not be available on --- your particular platform! +-- |Flags for 'System.Posix.DynamicLinker.dlsym'. Notice that 'Next' +-- might not be available on your particular platform! data DL = Null | Next | Default | DLHandle (Ptr ()) deriving (Show) diff --git a/System/Posix/Env.hsc b/System/Posix/Env.hsc index f1ec317..ef7c3e0 100644 --- a/System/Posix/Env.hsc +++ b/System/Posix/Env.hsc @@ -43,7 +43,7 @@ getEnv name = do then liftM Just $ peekCString litstring else return Nothing --- |'getEnvDefault' is a wrapper around 'getEnvVar' where the +-- |'getEnvDefault' is a wrapper around 'getEnv' where the -- programmer can specify a fallback if the variable is not found -- in the environment. @@ -72,7 +72,7 @@ getEnvironment = do dropEq (x,'=':ys) = (x,ys) dropEq (x,_) = error $ "getEnvironment: insane variable " ++ x --- |The 'unsetenv' function deletes all instances of the variable name +-- |The 'unsetEnv' function deletes all instances of the variable name -- from the environment. unsetEnv :: String -> IO () @@ -96,7 +96,7 @@ putEnv keyvalue = withCString keyvalue $ \s -> foreign import ccall unsafe "putenv" c_putenv :: CString -> IO CInt -{- |The 'setenv' function inserts or resets the environment variable name in +{- |The 'setEnv' function inserts or resets the environment variable name in the current environment list. If the variable @name@ does not exist in the list, it is inserted with the given value. If the variable does exist, the argument @overwrite@ is tested; if @overwrite@ is @False@, the variable is -- cgit v1.2.3