[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: No os.copy or lfs.copy?
- From: Rob Kendrick <lua-l@...>
- Date: Tue, 08 Apr 2008 11:39:26 +0100
On Tue, 2008-04-08 at 06:33 -0400, Leo Razoumov wrote:
> On 4/8/08, Brett Nash <firstname.lastname@example.org> wrote:
> > [..snip..]
> > Copy is something which generally has to implemented in user space,
> > there isn't normally a system call to do it. Hence no POSIXy or Unixy
> > way of doing it.
> "cp" is part of of POSIX standard "IEEE Std 1003.1, 2003 Edition,
> Standard for Information Technology -- Portable Operating System
> Interface (POSIX)".
And cp isn't a system call: it's a user space tool that usually reads a
block and then writes it repetitively.