base-3.0.1.0: Basic librariesSource codeContentsIndex
System.Posix.Internals
Portabilitynon-portable (requires POSIX)
Stabilityinternal
Maintainercvs-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)

Documentation
type CDir = ()Source
type CDirent = ()Source
type CFLock = ()Source
type CGroup = ()Source
type CLconv = ()Source
type CPasswd = ()Source
type CSigaction = ()Source
type CSigset = ()Source
type CStat = ()Source
type CTermios = ()Source
type CTm = ()Source
type CTms = ()Source
type CUtimbuf = ()Source
type CUtsname = ()Source
fdFileSize :: FD -> IO IntegerSource
data FDType Source
Constructors
Directory
Stream
RegularFile
RawDevice
show/hide Instances
fileType :: FilePath -> IO FDTypeSource
fdStat :: FD -> IO (FDType, CDev, CIno)Source
fdType :: FD -> IO FDTypeSource
fdGetMode :: FD -> IO IOModeSource
fdIsTTY :: FD -> IO BoolSource
setEcho :: FD -> Bool -> IO ()Source
getEcho :: FD -> IO BoolSource
setCooked :: FD -> Bool -> IO ()Source
tcSetAttr :: FD -> (Ptr CTermios -> IO a) -> IO aSource
get_saved_termios :: CInt -> IO (Ptr CTermios)Source
set_saved_termios :: CInt -> (Ptr CTermios) -> IO ()Source
c_access :: CString -> CInt -> IO CIntSource
c_chmod :: CString -> CMode -> IO CIntSource
c_chdir :: CString -> IO CIntSource
c_close :: CInt -> IO CIntSource
c_closedir :: Ptr CDir -> IO CIntSource
c_creat :: CString -> CMode -> IO CIntSource
c_dup :: CInt -> IO CIntSource
c_dup2 :: CInt -> CInt -> IO CIntSource
c_fstat :: CInt -> Ptr CStat -> IO CIntSource
c_getcwd :: Ptr CChar -> CSize -> IO (Ptr CChar)Source
c_isatty :: CInt -> IO CIntSource
c_lseek :: CInt -> COff -> CInt -> IO COffSource
lstat :: CString -> Ptr CStat -> IO CIntSource
c_open :: CString -> CInt -> CMode -> IO CIntSource
c_opendir :: CString -> IO (Ptr CDir)Source
mkdir :: CString -> CInt -> IO CIntSource
c_read :: CInt -> Ptr CChar -> CSize -> IO CSsizeSource
c_rename :: CString -> CString -> IO CIntSource
c_rewinddir :: Ptr CDir -> IO ()Source
c_rmdir :: CString -> IO CIntSource
c_stat :: CString -> Ptr CStat -> IO CIntSource
c_umask :: CMode -> IO CModeSource
c_write :: CInt -> Ptr CChar -> CSize -> IO CSsizeSource
c_ftruncate :: CInt -> COff -> IO CIntSource
c_unlink :: CString -> IO CIntSource
c_getpid :: IO CPidSource
c_fcntl_read :: CInt -> CInt -> IO CIntSource
c_fcntl_write :: CInt -> CInt -> CLong -> IO CIntSource
c_fcntl_lock :: CInt -> CInt -> Ptr CFLock -> IO CIntSource
c_fork :: IO CPidSource
c_link :: CString -> CString -> IO CIntSource
c_mkfifo :: CString -> CMode -> IO CIntSource
c_pipe :: Ptr CInt -> IO CIntSource
c_sigemptyset :: Ptr CSigset -> IO CIntSource
c_sigaddset :: Ptr CSigset -> CInt -> IO CIntSource
c_sigprocmask :: CInt -> Ptr CSigset -> Ptr CSigset -> IO CIntSource
c_tcgetattr :: CInt -> Ptr CTermios -> IO CIntSource
c_tcsetattr :: CInt -> CInt -> Ptr CTermios -> IO CIntSource
c_utime :: CString -> Ptr CUtimbuf -> IO CIntSource
c_waitpid :: CPid -> Ptr CInt -> CInt -> IO CPidSource
readdir :: Ptr CDir -> Ptr (Ptr CDirent) -> IO CIntSource
freeDirEnt :: Ptr CDirent -> IO ()Source
end_of_dir :: CIntSource
d_name :: Ptr CDirent -> IO CStringSource
o_RDONLY :: CIntSource
o_WRONLY :: CIntSource
o_RDWR :: CIntSource
o_APPEND :: CIntSource
o_CREAT :: CIntSource
o_EXCL :: CIntSource
o_TRUNC :: CIntSource
o_NOCTTY :: CIntSource
o_NONBLOCK :: CIntSource
o_BINARY :: CIntSource
c_s_isreg :: CMode -> CIntSource
c_s_ischr :: CMode -> CIntSource
c_s_isblk :: CMode -> CIntSource
c_s_isdir :: CMode -> CIntSource
c_s_isfifo :: CMode -> CIntSource
s_isreg :: CMode -> BoolSource
s_ischr :: CMode -> BoolSource
s_isblk :: CMode -> BoolSource
s_isdir :: CMode -> BoolSource
s_isfifo :: CMode -> BoolSource
sizeof_stat :: IntSource
st_mtime :: Ptr CStat -> IO CTimeSource
st_size :: Ptr CStat -> IO COffSource
st_mode :: Ptr CStat -> IO CModeSource
st_dev :: Ptr CStat -> IO CDevSource
st_ino :: Ptr CStat -> IO CInoSource
const_echo :: CIntSource
const_tcsanow :: CIntSource
const_icanon :: CIntSource
const_vmin :: CIntSource
const_vtime :: CIntSource
const_sigttou :: CIntSource
const_sig_block :: CIntSource
const_sig_setmask :: CIntSource
const_f_getfl :: CIntSource
const_f_setfl :: CIntSource
sizeof_termios :: IntSource
sizeof_sigset_t :: IntSource
c_lflag :: Ptr CTermios -> IO CTcflagSource
poke_c_lflag :: Ptr CTermios -> CTcflag -> IO ()Source
ptr_c_cc :: Ptr CTermios -> IO (Ptr Word8)Source
c_s_issock :: CMode -> CIntSource
s_issock :: CMode -> BoolSource
Produced by Haddock version 2.0.0.0