1 NAME
2 rename_file - rename a file
3
4 SYNOPSIS
5 int rename_file(string from, string to)
6
7
8 DESCRIPTION
9 Rename a file. The destination file must not yet exist. 1 is
10 returned if the file could be renamed, 0 otherwise.
11
12 ERRORS
13 Moving a directory may not be possible if the host operating system
14 does not support this as a system call. Moving a file across file
15 systems will probably fail.
16
17 SEE ALSO
18 kfun/remove_file
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.