Fred K Ollinger on Sun, 16 Jun 2002 22:30:12 +0200


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

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


> system(3) only takes one parameter -- a pointer to a character array.
> What's the problem?

Both filenames are pointers to char arrays.

Plus, there was a really big thread on my system calls are bad C, or not C
at all in my book. I shy away from system calls b/c I feel it's cheesy,
but other pluggers listed many reasons why system is bad news.

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