Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setEnvironment :: [(String, String)] -> IO ()unix System.Posix.Env setEnvironment resets the entire environment to the given list of (key,value) pairs.
setEnv :: ByteString -> ByteString -> Bool -> IO ()unix System.Posix.Env.ByteString 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 not reset, otherwise it is reset to the given value.
setEnvironment :: [(ByteString, ByteString)] -> IO ()unix System.Posix.Env.ByteString setEnvironment resets the entire environment to the given list of (key,value) pairs.
setEnv :: PosixString -> PosixString -> Bool -> IO ()unix System.Posix.Env.PosixString 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 not reset, otherwise it is reset to the given value.
setEnvironment :: [(PosixString, PosixString)] -> IO ()unix System.Posix.Env.PosixString setEnvironment resets the entire environment to the given list of (key,value) pairs.
setFdMode :: Fd -> FileMode -> IO ()unix System.Posix.Files setFdMode fd mode acts like setFileMode but uses a file descriptor fd instead of a FilePath. Note: calls fchmod.
setFdOwnerAndGroup :: Fd -> UserID -> GroupID -> IO ()unix System.Posix.Files Acts as setOwnerAndGroup but uses a file descriptor instead of a FilePath. Note: calls fchown.
setFdSize :: Fd -> FileOffset -> IO ()unix System.Posix.Files Acts as setFileSize but uses a file descriptor instead of a FilePath. Note: calls ftruncate.
setFdTimesHiRes :: Fd -> POSIXTime -> POSIXTime -> IO ()unix System.Posix.Files Like setFileTimesHiRes but uses a file descriptor instead of a path. This operation is not supported on all platforms. On these platforms, this function will raise an exception. Note: calls futimens or futimes. Support for high resolution timestamps is filesystem dependent with the following limitations:
- HFS+ volumes on OS X truncate the sub-second part of the timestamp.
setFileCreationMask :: FileMode -> IO FileModeunix System.Posix.Files setFileCreationMask mode sets the file mode creation mask to mode. Modes set by this operation are subtracted from files and directories upon creation. The previous file creation mask is returned. Note: calls umask.