unix-compat-0.4.1.1: Portable POSIX-compatibility layer.

Safe HaskellSafe-Inferred

System.PosixCompat.Unistd

Contents

Description

This module makes the operations exported by System.Posix.Unistd available on all platforms. On POSIX systems it re-exports operations from System.Posix.Unistd, on other platforms it emulates the operations as far as possible.

Synopsis

System environment

data SystemID

Constructors

SystemID 

Fields

systemName :: String
 
nodeName :: String
 
release :: String
 
version :: String
 
machine :: String
 

Sleeping

sleep :: Int -> IO Int

usleep :: Int -> IO ()

nanosleep :: Integer -> IO ()