aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Env.hsc
diff options
context:
space:
mode:
authorGravatar simonmar <unknown>2005-02-24 09:58:27 +0000
committerGravatar simonmar <unknown>2005-02-24 09:58:27 +0000
commit2b00ad9b3ed6513bc310d0cbd1f9cd317afd29f9 (patch)
treefb9630081a5981e00d75367f0239b9dc90780679 /System/Posix/Env.hsc
parentcca17660c8b2732f8dc0631bd350a2cdcf9b7fc0 (diff)
[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.
Diffstat (limited to 'System/Posix/Env.hsc')
-rw-r--r--System/Posix/Env.hsc6
1 files changed, 3 insertions, 3 deletions
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