Re: OT: why no file copy() libc/syscall ??

From: Jamie Lokier
Date: Tue Nov 18 2003 - 10:50:37 EST


Andi Kleen wrote:
> > s/EINTR/short count/, of course :)
>
> 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.

That doesn't make sense. There aren't any existing users of sendfile
to copy files.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/