C++ Programming/Code/Standard C Library/Functions/rename
< C++ Programming < Code < Standard C Library < Functionsrename
Syntax |
#include <cstdio>
int rename( const char *oldfname, const char *newfname );
|
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
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.