[lkml]   [2003]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: OT: why no file copy() libc/syscall ??
    Followup to:  <>
    By author: Jakub Jelinek <>
    In newsgroup:
    > >
    > > 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.


    <> at work, <> 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
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:58    [W:0.044 / U:0.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site