Messages in this thread | | | Date | Tue, 18 Nov 2003 18:12:43 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: OT: why no file copy() libc/syscall ?? |
| |
On 14 Nov 2003, Andi Kleen wrote: > > That would be buggy because existing users of sendfile don't know > about this and would silently only copy part of the file when a signal > happens.
Don't be silly.
Existing sendfile users had _better_ accept short writes.
They happen all the time. If the destination is the network, it _will_ be interruptible.
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |