guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Bindings for ‘sendfile’


From: Thien-Thi Nguyen
Subject: Re: [PATCH] Bindings for ‘sendfile’
Date: Sun, 14 Apr 2013 12:52:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

() address@hidden (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

Attachment: pgptGBtnmqUZV.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]