From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Bindings for =?utf-8?B?4oCYc2VuZGZpbGXigJk=?= Date: Tue, 16 Apr 2013 18:31:00 +0200 Message-ID: <87y5citp2z.fsf@gnu.org> References: <87ip4liufs.fsf@gnu.org> <878v5hbblk.fsf@tines.lan> <87obed2iqo.fsf@gnu.org> <87sj32rubt.fsf@inria.fr> <87r4ik5ciy.fsf@zigzag.favinet> <8761zvagt0.fsf@gnu.org> <8738uz78ah.fsf@zigzag.favinet> <87d2u2bp93.fsf@tines.lan> <87ip3p1j7b.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1366129881 15424 80.91.229.3 (16 Apr 2013 16:31:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Apr 2013 16:31:21 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Apr 16 18:31:25 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1US8my-0006Wd-0Q for guile-devel@m.gmane.org; Tue, 16 Apr 2013 18:31:24 +0200 Original-Received: from localhost ([::1]:56032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US8mx-0005Mv-LF for guile-devel@m.gmane.org; Tue, 16 Apr 2013 12:31:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US8ml-00051k-93 for guile-devel@gnu.org; Tue, 16 Apr 2013 12:31:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US8mk-00085g-1c for guile-devel@gnu.org; Tue, 16 Apr 2013 12:31:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:39188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US8mj-00082M-Qn for guile-devel@gnu.org; Tue, 16 Apr 2013 12:31:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1US8mf-00064q-LI for guile-devel@gnu.org; Tue, 16 Apr 2013 18:31:05 +0200 Original-Received: from 193.50.110.225 ([193.50.110.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Apr 2013 18:31:05 +0200 Original-Received: from ludo by 193.50.110.225 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Apr 2013 18:31:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.225 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Germinal an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:qPWEsf12uC0OC7njbEubG2VVSJ4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16261 Archived-At: Thien-Thi Nguyen skribis: > My reading of sendfile(2) is that it does its best to send as much as > possible, but does not guarantee sending everything. What it does > succeed in sending, it reports to the caller. The caller loops as > desired, after evaluating (in some caller-meaningful way) the returned > information. Just a note, this information is definitely not conveyed by the man page: sendfile() copies data between one file descriptor and another. [...] count is the number of bytes to copy between the file descriptors. Of course the return type hints at a write(2)-like interface, but the truth is that short writes had to be evidenced by experimental validation, so to speak. Ludo’.