native

rename_file

Syntax

native rename_file(const oldname[], const newname[], relative=0);

Description

renames a file. returns 0 on failure, 1 on success.
if relative true, rename_file will act like other natives which
use the moddir as a base directory. otherwise, the current directory is
undefined (but assumed to be hlds).