Skip to main content

rename

Discworld driver help

rename

Name

rename() - rename a file

Synopsis

int rename( string src, string dst );

Description

Renames the file named `src' to `dst'.

rename() returns zero (0) to indicate success. Non zero indicates failure.

See also

rm(), rmdir(), cp(), link()