rename [C++ Reference]
Keywords: c,io,rename
Date: 2008-10-14T15:42:01-0700

[[rename]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## rename

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

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •