hsyscall-0.3: 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 CSsizeSource

A unified primitive signature for the sendfile syscall. The number of bytes written and the offset value