Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
unix System.Posix.DynamicLinker.ByteString No documentation available.
-
unix System.Posix.DynamicLinker.Module No documentation available.
-
unix System.Posix.DynamicLinker.Module.ByteString No documentation available.
-
unix System.Posix.User getLoginName calls getlogin to obtain the login name associated with the current process.
getEffectiveUserName :: IO Stringunix System.Posix.User getEffectiveUserName gets the name associated with the effective UserID of the process.
-
hedgehog Hedgehog.Internal.Prelude Read a line from the standard input device (same as hGetLine stdin).
-
hedgehog Hedgehog.Internal.Prelude The getContents operation returns all user input as a single string, which is read lazily as it is needed (same as hGetContents stdin).
getReportedCursorPosition :: IO Stringansi-terminal System.Console.ANSI Attempts to get the reported cursor position data from the console input stream. The function is intended to be called immediately after reportCursorPosition (or related functions) have caused characters to be emitted into the stream. For example, on a Unix-like operating system:
-- set no buffering (if 'no buffering' is not already set, the contents of -- the buffer will be discarded, so this needs to be done before the cursor -- positon is emitted) hSetBuffering stdin NoBuffering -- ensure that echoing is off input <- bracket (hGetEcho stdin) (hSetEcho stdin) $ \_ -> do hSetEcho stdin False reportCursorPosition hFlush stdout -- ensure the report cursor position code is sent to the -- operating system getReportedCursorPosition
On Windows operating systems, the function is not supported on consoles, such as mintty, that are not based on the Windows' Console API. (Command Prompt and PowerShell are based on the Console API.)-
base-compat System.Environment.Compat Computation getProgName returns the name of the program as it was invoked. However, this is hard-to-impossible to implement on some non-Unix OSes, so instead, for maximum portability, we just return the leafname of the program as invoked. Even then there are some differences between platforms: on Windows, for example, a program invoked as foo is probably really FOO.EXE, and that is what getProgName will return.
-
base-compat System.IO.Compat The getContents' operation returns all user input as a single string, which is fully read before being returned (same as hGetContents' stdin).