Currently At: Programming Reference > C Reference > Stndard C I/O > rename()

rename()


Syntax:
#include <stdio.h>
int rename( const char *oldfname, const char *newfname );


Description:
The function rename() changes the name of the file oldfname to newfname. The return value of rename() is zero upon success, non-zero on error.

Related Topics:
remove()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions