Bill Jonas on Fri, 14 Jun 2002 21:10:21 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] unix cp function call (thanks)


On Fri, Jun 14, 2002 at 01:11:45PM -0400, Fred K Ollinger wrote:
> Incidentally, I spent 30 min on this. I have to copy files, not memory.
> I'm going to copy a function in an old C textbook and use that.

Why not just take a look at the way GNU or BSD cp does it?  For BSD, you
can check it out of CVS, for GNU, go to
<ftp://ftp.gnu.org/gnu/fileutils/> and grab the source from there.

-- 
Bill Jonas    *    bill@billjonas.com    *    http://www.billjonas.com/
"They that can give up  essential  liberty to obtain a little temporary
safety deserve neither liberty nor safety."        -- Benjamin Franklin

Attachment: pgpZEisFPzXni.pgp
Description: PGP signature