hsyscall-0.4: FFI to syscalls

System.Syscall

Synopsis

Documentation

c_open :: CFilePath -> CInt -> CMode -> IO CInt

c_stat :: CFilePath -> Ptr CStat -> IO CInt

c_fcntl_lock :: CInt -> CInt -> Ptr CFLock -> IO CInt

c_sendfile :: Fd -> Fd -> COff -> CSize -> IO (Either Errno CSsize)Source

A unified primitive signature for the sendfile syscall.