Re: Emulation of sendfile().
lördag den 26 oktober 2013 klockan 17:16 skrev Robert Millan detta:
>
> Which sendfile() do you want?
>
> There's the SYS_sendfile syscall, which is defined as bsd_sendfile() in
> <bits/socket.h> but awkwardly not exported in Versions.
I will have a go with this in due time. Presumably it exposes the
same signature as sendfile(3) of FreeBSD.
> Then there's the ENOSYS stub you're calling, which I guess is supposed
> to emulate Linux semantics, but is not implemented.
Yes, the signature is identical to Linux' version. As usual, the manpages
in wheezy/kfreebsd is replete with linux-only pages, so it is impossible
to find information relevant to kfreebsd.
Thanks,
Mats E A
Reply to: