() l...@gnu.org (Ludovic Courtès) () Wed, 10 Apr 2013 22:56:38 +0200 Well, I sympathize with the idea of sticking to the underlying syscall semantics; yet, for my own uses of ‘sendfile’, I can only think of cases all I want is to send the file.
I understand; it's easy to project one's limitations into the code. (Besides, it seems to be unusual to get ‘sendfile’ to send less than asked to. The ‘pipe’ example mentioned in the manual would show up at most once every 10 iterations with our test case.) API design is the art of making possible both the usual and the unusual. -- Thien-Thi Nguyen GPG key: 4C807502
pgpYsAoa76Ym_.pgp
Description: PGP signature