List,Adam, Since the code for CP is open, could you just look in there? You could even trace the path for how cp executes with -ax to have yours automagically do 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