Skip to content

__rename__

builtin · libnexusinterp/corefcn/dirfns-proprietary.cc

: rename old new
: [err, msg] = __rename__ (old, new)

Move or rename the file or directory old to new.

err is 0 on success and -1 on failure, with msg holding the system message. Without output arguments a failure is an error.