Re: C and system calls

2000-04-03 Thread Oleg Krivosheev
On Mon, 3 Apr 2000, Bart Friederichs wrote: > Hi, > > Are there any system calls to move or copy files? I know I can do it with > system("") but i don't like that solution. > > Bart rename(2), unlink(2) etc OK

Re: C and system calls

2000-04-03 Thread Jakob 'sparky' Kaivo
"Bart Friederichs" <[EMAIL PROTECTED]> writes: > Are there any system calls to move or copy files? I know I can do it with > system("") but i don't like that solution. For move, user rename(2). For copying, you need to do it by hand (e.g. open the from file for reading, the to file for writing, t