sendfile() in FileChannelImpl.c

Michael Allman msa at
Fri Oct 16 16:55:08 PDT 2009

Can someone explain why we aren't using sendfile() in the transferTo0 call 
for the case of a file transfer to a network socket in FileChannelImpl.c?

Also, my understanding is that if this call cannot do a sendfile(), it 
should return IOS_UNSUPPORTED_CASE.  This will tell the caller to do a 
loop-based transfer (see, line 



More information about the bsd-port-dev mailing list