ahp
On Thursday, Jan 2, 2003, at 18:34 America/New_York, David Busby wrote:
Well it seems I need to read fully before responding...sorry Can you system("cp -ax /blah /bloop"); and just check the retval?/B ----- Original Message ----- From: "David Busby" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 15:31 Subject: Re: File Copying LibraryList,Adam, Since the code for CP is open, could you just look in there? Youcouldeven trace the path for how cp executes with -ax to have yoursautomagicallydo that. I think you can get code for CP from GNU (isn't that who makes
it?)
/B
----- Original Message -----
From: "Adam H. Pendleton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 15:26
Subject: File Copying Library
Since today seems to be filled with programming questions, i thought I
would send mine in. Is there a library out there somewhere that
provides the functionality of the "cp" program? I need to incorporate
the ability to copy files into a program of mine, and so far the best
that I have been able to come up with is trying to integrate the "cp"
source code into my project. There has to be an easier way. Does
anybody have one?
ahp
P.S. -- Essentially all my program is doing is a "cp -ax /blah
/blah-dest". The language is C.
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
PGP.sig
Description: PGP signature