|
Declaration:
int rename(const char *old_filename,
const char *new_filename);
Causes the filename referred to by old_filename to be
changed to new_filename. If the filename pointed to by
new_filename exists, the result is implementation-defined.
On success zero is returned. On error a nonzero value is
returned and the file is still accessible by its old filename.
|