Fred K Ollinger on Sat, 15 Jun 2002 20:00:09 +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 03:14:24PM -0400, Bill Jonas wrote:
> > Another idea: if you don't want to copy the code, you could just fork,
> > exec, and have cp(1) do your dirty work for you.
>
> Or you can call system(3).

I'm trying to use Gabriel's function which I stuck into a function so I
can pretent that cp() really does exist, and that it will work w/ a
pointer to a char array.

I'm writing this as a wrapper to the qstrings. There seems to be no qcopy
in the qt toolkit. I can't conceive of not having a cp() in the basic
libraries, but I guess this is supposed to be easy to implement. :(

Fred


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug