System.Posix.Internals
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
data CSigaction Source #
statGetType :: Ptr CStat -> IO IODeviceType Source #
peekFilePathLen :: CStringLen -> IO FilePath Source #
setCloseOnExec :: FD -> IO () Source #
c_interruptible_open :: CFilePath -> CInt -> CMode -> IO CInt Source #
The same as c_safe_open
, but an interruptible operation
as described in Control.Exception—it respects uninterruptibleMask
but not mask
.
We want to be able to interrupt an openFile call if it's expensive (NFS, FUSE, etc.), and we especially need to be able to interrupt a blocking open call. See #17912.
hostIsThreaded :: Bool Source #
Consult the RTS to find whether it is threaded.
rtsIsThreaded_ :: Int Source #
o_NONBLOCK :: CInt Source #
c_s_isfifo :: CMode -> CInt Source #
sizeof_stat :: Int Source #
const_echo :: CInt Source #
const_tcsanow :: CInt Source #
const_icanon :: CInt Source #
const_vmin :: CInt Source #
const_vtime :: CInt Source #
const_sigttou :: CInt Source #
const_f_getfl :: CInt Source #
const_f_setfl :: CInt Source #
const_f_setfd :: CInt Source #
sizeof_termios :: Int Source #
c_s_issock :: CMode -> CInt Source #