[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Bindings for ‘sendfile’
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] Bindings for ‘sendfile’ |
Date: |
Tue, 16 Apr 2013 18:31:00 +0200 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux) |
Thien-Thi Nguyen <address@hidden> 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’.
- Re: [PATCH] Bindings for ‘sendfile’, Ludovic Courtès, 2013/04/07
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/09
- Re: [PATCH] Bindings for ‘sendfile’, Ludovic Courtès, 2013/04/09
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/09
- Re: [PATCH] Bindings for ‘sendfile’, Mark H Weaver, 2013/04/10
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/14
- Re: [PATCH] Bindings for ‘sendfile’,
Ludovic Courtès <=
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/16
- Re: [PATCH] Bindings for ‘sendfile’, Ludovic Courtès, 2013/04/17
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/17
- Re: [PATCH] Bindings for ‘sendfile’, Ludovic Courtès, 2013/04/17
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/18
- Re: [PATCH] Bindings for ‘sendfile’, Ludovic Courtès, 2013/04/10
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/14