Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 18 Nov 2003 08:58:03 -0800 | From | "H. Peter Anvin" <> | Subject | Re: OT: why no file copy() libc/syscall ?? |
| |
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. >
It would be consistent with the documented semantics for other file operations. Obviously, return zero only on EOF.
-hpa
- 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/
| ![\](/images/icornerr.gif) |