#include <rtl.h>
int frename (
const char* oldname, /* old filename */
const char* newname); /* new filename */
Description
The function frename replaces the name of a file. The
parameter oldname is a character pointer
specifying the current name of the file. The parameter newname is a character pointer specifying the new name of
the file.
The function is included in the library RL-FlashFS. The prototype
is defined in the file rtl.h.
The parameter oldname can contain a drive
prefix and, for FAT media, path information.
The following values are allowed for the parameter oldname:
Drive Prefix
Description
""
Default System drive as specified in the file
File_Config.c
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.