Haskell Core Libraries (base package)ParentContentsIndex
GHC.Posix
Portability non-portable
Stability internal
Maintainer cvs-ghc@haskell.org
Description

POSIX support layer for the standard libraries. This library is built on *every* platform, including Win32.

Non-posix compliant in order to support the following features: * S_ISSOCK (no sockets in POSIX)

type CCc = Word8
type CDev = Word64
type CDir = ()
type CDirent = ()
type CFLock = ()
type CGid = Word32
type CGroup = ()
type CIno = Word32
type CLconv = ()
type CMode = Word32
type CNlink = Word32
type COff = Int32
type CPasswd = ()
type CPid = Int32
type CSigaction = ()
type CSigset = ()
type CSpeed = Word32
type CSsize = Int32
type CStat = ()
type CTcflag = Word32
type CTermios = ()
type CTm = ()
type CTms = ()
type CUid = Word32
type CUtimbuf = ()
type CUtsname = ()
data FDType
Constructors
Directory
Stream
RegularFile
data FDType
Constructors
Directory
Stream
RegularFile
data FDType
Constructors
Directory
Stream
RegularFile
data FDType
Constructors
Directory
Stream
RegularFile
c_access :: CString -> CMode -> IO CInt
c_chdir :: CString -> IO CInt
c_chmod :: CString -> CMode -> IO CInt
c_close :: CInt -> IO CInt
c_closedir :: Ptr CDir -> IO CInt
c_creat :: CString -> CMode -> IO CInt
c_dup :: CInt -> IO CInt
c_dup2 :: CInt -> CInt -> IO CInt
c_fcntl_lock :: CInt -> CInt -> Ptr CFLock -> IO CInt
c_fcntl_read :: CInt -> CInt -> IO CInt
c_fcntl_write :: CInt -> CInt -> CInt -> IO CInt
c_fork :: IO CPid
c_fpathconf :: CInt -> CInt -> IO CLong
c_fstat :: CInt -> Ptr CStat -> IO CInt
c_getcwd :: Ptr CChar -> CInt -> IO (Ptr CChar)
c_isatty :: CInt -> IO CInt
c_lflag :: Ptr CTermios -> IO CTcflag
c_link :: CString -> CString -> IO CInt
c_lseek :: CInt -> COff -> CInt -> IO COff
c_mkfifo :: CString -> CMode -> IO CInt
c_open :: CString -> CInt -> CMode -> IO CInt
c_opendir :: CString -> IO (Ptr CDir)
c_pathconf :: CString -> CInt -> IO CLong
c_pipe :: Ptr CInt -> IO CInt
c_read :: CInt -> Ptr CChar -> CSize -> IO CSsize
c_readdir :: Ptr CDir -> IO (Ptr CDirent)
c_rename :: CString -> CString -> IO CInt
c_rewinddir :: Ptr CDir -> IO ()
c_rmdir :: CString -> IO CInt
c_sigaddset :: Ptr CSigset -> CInt -> IO CInt
c_sigemptyset :: Ptr CSigset -> IO ()
c_sigprocmask :: CInt -> Ptr CSigset -> Ptr CSigset -> IO ()
c_stat :: CString -> Ptr CStat -> IO CInt
c_tcgetattr :: CInt -> Ptr CTermios -> IO CInt
c_tcsetattr :: CInt -> CInt -> Ptr CTermios -> IO CInt
c_umask :: CMode -> IO CMode
c_uname :: Ptr CUtsname -> IO CInt
c_unlink :: CString -> IO CInt
c_utime :: CString -> Ptr CUtimbuf -> IO CMode
c_waitpid :: CPid -> Ptr CInt -> CInt -> IO CPid
c_write :: CInt -> Ptr CChar -> CSize -> IO CSsize
const_echo :: CInt
const_f_getfl :: CInt
const_f_setfl :: CInt
const_icanon :: CInt
const_sig_block :: CInt
const_sig_setmask :: CInt
const_sigttou :: CInt
const_tcsanow :: CInt
const_vmin :: CInt
const_vtime :: CInt
fdFileSize :: Int -> IO Integer
fdIsTTY :: Int -> IO Bool
fdType :: Int -> IO FDType
fileTruncate :: FilePath -> IO ()
fileType :: FilePath -> IO FDType
getEcho :: Int -> IO Bool
lstat :: CString -> Ptr CStat -> IO CInt
mkdir :: CString -> CInt -> IO CInt
o_APPEND :: CInt
o_BINARY :: CInt
o_CREAT :: CInt
o_EXCL :: CInt
o_NOCTTY :: CInt
o_NONBLOCK :: CInt
o_RDONLY :: CInt
o_RDWR :: CInt
o_TRUNC :: CInt
o_WRONLY :: CInt
poke_c_lflag :: Ptr CTermios -> CTcflag -> IO ()
ptr_c_cc :: Ptr CTermios -> IO (Ptr Word8)
s_isblk :: CMode -> Bool
s_ischr :: CMode -> Bool
s_isdir :: CMode -> Bool
s_isfifo :: CMode -> Bool
s_isreg :: CMode -> Bool
s_issock :: CMode -> Bool
setCooked :: Int -> Bool -> IO ()
setEcho :: Int -> Bool -> IO ()
sizeof_sigset_t :: Int
sizeof_stat :: Int
sizeof_termios :: Int
st_mode :: Ptr CStat -> IO CMode
st_mtime :: Ptr CStat -> IO CTime
st_size :: Ptr CStat -> IO COff
tcSetAttr :: FD -> CInt -> Ptr CTermios -> IO ()
Produced by Haddock version 0.3