Messages in this thread | | | From | "H. Peter Anvin" <> | Subject | Re: OT: why no file copy() libc/syscall ?? | Date | 13 Nov 2003 12:22:14 -0800 |
| |
Followup to: <20031111085323.M8854@devserv.devel.redhat.com> By author: Jakub Jelinek <jakub@redhat.com> In newsgroup: linux.dev.kernel > > > > Actually, I think we should have a: > > > > long copy_fd_to_fd (int src, int dst, int len) > > > > type of systemcall. > > We have one, sendfile(2). >
It would be very nice if we could (a) expand the uses of sendfile(2), and (b) have the libc do the fallback to read/write/mmap as needed.
-hpa
-- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! If you send me mail in HTML format I will assume it's spam. "Unix gives you enough rope to shoot yourself in the foot." Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64 - 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/
| |