Hi,
I have a C program which calls rename()
However, it tries to rename a file from a filesys on one device to one on another, and this results in errno=18.
Is there a func that can do this ?
I can of course copy the file and unlink it, but I just wanted to know if there was a utility function in linux to already take care of this.
Thanks Shahed.