| ||||||||||||
| ||||||||||||
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 = () | ||||||||||||
type CDirent = () | ||||||||||||
type CFLock = () | ||||||||||||
type CGroup = () | ||||||||||||
type CLconv = () | ||||||||||||
type CPasswd = () | ||||||||||||
type CSigaction = () | ||||||||||||
type CSigset = () | ||||||||||||
type CStat = () | ||||||||||||
type CTermios = () | ||||||||||||
type CTm = () | ||||||||||||
type CTms = () | ||||||||||||
type CUtimbuf = () | ||||||||||||
type CUtsname = () | ||||||||||||
fdFileSize :: FD -> IO Integer | ||||||||||||
data FDType | ||||||||||||
| ||||||||||||
fileType :: FilePath -> IO FDType | ||||||||||||
fdStat :: FD -> IO (FDType, CDev, CIno) | ||||||||||||
fdType :: FD -> IO FDType | ||||||||||||
fdGetMode :: FD -> IO IOMode | ||||||||||||
fdIsTTY :: FD -> IO Bool | ||||||||||||
setEcho :: FD -> Bool -> IO () | ||||||||||||
getEcho :: FD -> IO Bool | ||||||||||||
setCooked :: FD -> Bool -> IO () | ||||||||||||
tcSetAttr :: FD -> (Ptr CTermios -> IO a) -> IO a | ||||||||||||
get_saved_termios :: CInt -> IO (Ptr CTermios) | ||||||||||||
set_saved_termios :: CInt -> Ptr CTermios -> IO () | ||||||||||||
c_access :: CString -> CInt -> IO CInt | ||||||||||||
c_chmod :: CString -> CMode -> IO CInt | ||||||||||||
c_chdir :: CString -> 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_fstat :: CInt -> Ptr CStat -> IO CInt | ||||||||||||
c_getcwd :: Ptr CChar -> CSize -> IO (Ptr CChar) | ||||||||||||
c_isatty :: CInt -> IO CInt | ||||||||||||
c_lseek :: CInt -> COff -> CInt -> IO COff | ||||||||||||
lstat :: CString -> Ptr CStat -> IO CInt | ||||||||||||
c_open :: CString -> CInt -> CMode -> IO CInt | ||||||||||||
c_opendir :: CString -> IO (Ptr CDir) | ||||||||||||
mkdir :: CString -> CInt -> IO CInt | ||||||||||||
c_read :: CInt -> Ptr CChar -> CSize -> IO CSsize | ||||||||||||
c_rename :: CString -> CString -> IO CInt | ||||||||||||
c_rewinddir :: Ptr CDir -> IO () | ||||||||||||
c_rmdir :: CString -> IO CInt | ||||||||||||
c_stat :: CString -> Ptr CStat -> IO CInt | ||||||||||||
c_umask :: CMode -> IO CMode | ||||||||||||
c_write :: CInt -> Ptr CChar -> CSize -> IO CSsize | ||||||||||||
c_ftruncate :: CInt -> COff -> IO CInt | ||||||||||||
c_unlink :: CString -> IO CInt | ||||||||||||
c_getpid :: IO CPid | ||||||||||||
c_fcntl_read :: CInt -> CInt -> IO CInt | ||||||||||||
c_fcntl_write :: CInt -> CInt -> CLong -> IO CInt | ||||||||||||
c_fcntl_lock :: CInt -> CInt -> Ptr CFLock -> IO CInt | ||||||||||||
c_fork :: IO CPid | ||||||||||||
c_link :: CString -> CString -> IO CInt | ||||||||||||
c_mkfifo :: CString -> CMode -> IO CInt | ||||||||||||
c_pipe :: Ptr CInt -> IO CInt | ||||||||||||
c_sigemptyset :: Ptr CSigset -> IO CInt | ||||||||||||
c_sigaddset :: Ptr CSigset -> CInt -> IO CInt | ||||||||||||
c_sigprocmask :: CInt -> Ptr CSigset -> Ptr CSigset -> IO CInt | ||||||||||||
c_tcgetattr :: CInt -> Ptr CTermios -> IO CInt | ||||||||||||
c_tcsetattr :: CInt -> CInt -> Ptr CTermios -> IO CInt | ||||||||||||
c_utime :: CString -> Ptr CUtimbuf -> IO CInt | ||||||||||||
c_waitpid :: CPid -> Ptr CInt -> CInt -> IO CPid | ||||||||||||
readdir :: Ptr CDir -> Ptr (Ptr CDirent) -> IO CInt | ||||||||||||
freeDirEnt :: Ptr CDirent -> IO () | ||||||||||||
end_of_dir :: CInt | ||||||||||||
d_name :: Ptr CDirent -> IO CString | ||||||||||||
o_RDONLY :: CInt | ||||||||||||
o_WRONLY :: CInt | ||||||||||||
o_RDWR :: CInt | ||||||||||||
o_APPEND :: CInt | ||||||||||||
o_CREAT :: CInt | ||||||||||||
o_EXCL :: CInt | ||||||||||||
o_TRUNC :: CInt | ||||||||||||
o_NOCTTY :: CInt | ||||||||||||
o_NONBLOCK :: CInt | ||||||||||||
o_BINARY :: CInt | ||||||||||||
c_s_isreg :: CMode -> CInt | ||||||||||||
c_s_ischr :: CMode -> CInt | ||||||||||||
c_s_isblk :: CMode -> CInt | ||||||||||||
c_s_isdir :: CMode -> CInt | ||||||||||||
c_s_isfifo :: CMode -> CInt | ||||||||||||
s_isreg :: CMode -> Bool | ||||||||||||
s_ischr :: CMode -> Bool | ||||||||||||
s_isblk :: CMode -> Bool | ||||||||||||
s_isdir :: CMode -> Bool | ||||||||||||
s_isfifo :: CMode -> Bool | ||||||||||||
sizeof_stat :: Int | ||||||||||||
st_mtime :: Ptr CStat -> IO CTime | ||||||||||||
st_size :: Ptr CStat -> IO COff | ||||||||||||
st_mode :: Ptr CStat -> IO CMode | ||||||||||||
st_dev :: Ptr CStat -> IO CDev | ||||||||||||
st_ino :: Ptr CStat -> IO CIno | ||||||||||||
const_echo :: CInt | ||||||||||||
const_tcsanow :: CInt | ||||||||||||
const_icanon :: CInt | ||||||||||||
const_vmin :: CInt | ||||||||||||
const_vtime :: CInt | ||||||||||||
const_sigttou :: CInt | ||||||||||||
const_sig_block :: CInt | ||||||||||||
const_sig_setmask :: CInt | ||||||||||||
const_f_getfl :: CInt | ||||||||||||
const_f_setfl :: CInt | ||||||||||||
sizeof_termios :: Int | ||||||||||||
sizeof_sigset_t :: Int | ||||||||||||
c_lflag :: Ptr CTermios -> IO CTcflag | ||||||||||||
poke_c_lflag :: Ptr CTermios -> CTcflag -> IO () | ||||||||||||
ptr_c_cc :: Ptr CTermios -> IO (Ptr Word8) | ||||||||||||
c_s_issock :: CMode -> CInt | ||||||||||||
s_issock :: CMode -> Bool | ||||||||||||
Produced by Haddock version 2.2.2 |