#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
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.