-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | FFI to syscalls -- -- FFI to OS syscalls (open, close, sendfile etc...). @package hsyscall @version 0.4 module System.Syscall c_open :: CFilePath -> CInt -> CMode -> IO CInt c_close :: CInt -> IO CInt c_read :: CInt -> Ptr Word8 -> CSize -> IO CSsize c_write :: CInt -> Ptr Word8 -> CSize -> IO CSsize c_stat :: CFilePath -> Ptr CStat -> IO CInt c_fcntl_read :: CInt -> CInt -> IO CInt c_fcntl_write :: CInt -> CInt -> CLong -> IO CInt c_fcntl_lock :: CInt -> CInt -> Ptr CFLock -> IO CInt -- | A unified primitive signature for the sendfile syscall. c_sendfile :: Fd -> Fd -> COff -> CSize -> IO (Either Errno CSsize)