SendfileSourceCalls `sendfile(2)` once.
val sendfile_once :
?off:int ->
len:int ->
src:Unix.file_descr ->
Unix.file_descr ->
(int, Unix.error) resultCalls `sendfile(2)` once. Returns Unix exceptions in a result type.
Calls `sendfile(2)`, possibly repeatedly (if EINTR / EAGAIN is returned) until the entire file has been sent.
val sendfile :
?off:int ->
?len:int ->
src:Unix.file_descr ->
Unix.file_descr ->
(int, Unix.error) resultCalls `sendfile(2)`, possibly repeatedly (if EINTR is returned) until the entire file has been sent. Returns Unix exceptions in a result type.