diff --git a/System/Syscall/FreeBSD.hsc b/System/Syscall/FreeBSD.hsc index 4f39925..929faf2 100644 --- a/System/Syscall/FreeBSD.hsc +++ b/System/Syscall/FreeBSD.hsc @@ -1,8 +1,8 @@ {-# LANGUAGE CPP, ForeignFunctionInterface #-} --- | Linux System Calls +-- | FreeBSD System Calls -- http://fxr.watson.org/fxr/source/kern/syscalls.master module System.Syscall.FreeBSD - ( c_sendfile + ( c_sendfile_freebsd ) where @@ -12,5 +12,5 @@ import System.Posix.Types (COff, Fd) -- | Sendfile -- int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); -foreign import ccall unsafe "sys/uio.h sendfile" c_sendfile +foreign import ccall unsafe "sys/uio.h sendfile" c_sendfile_freebsd :: Fd -> Fd -> COff -> CSize -> Ptr () -> Ptr COff -> CInt -> IO CInt