Hey,
I'm trying to move a file as the rename() libc function would.
Looking at the FA code indicates that they actually copy then delete, I was hoping that wasn't the only option. 71M, Shazz, did you use the copy trick because you couldn't find a way to actually move the file?
The only way I get sceIoRename to work is like this:
sceIoRename("path/to/file/oldname", "newname")
This will simply rename path/to/file/oldname to path/to/file/newname. Doing something like this:
sceIoRename("path/to/file/oldname", "path/to/another/oldname")
returns 0x80010002 =/
Are there any alternatives I'm missing here? Or should I just resign myself to copying then deleting?
Thanks,
benji