Function smt387fs_rename – Sundance SMT387-FS User Manual
Page 14
Advertising
Function smt387fs_rename
Synopsis
int smt387fs_rename (char *from, char *to);
Definition
Changes the name of file from to to.
Synchronization
Thread safe.
Error Conditions
FS_BAD_NAME if one of the file names provided is not a valid name.
SMT387FS_FILE_NOEXIST if the file does not exist.
SMT387FS_FILE_OPEN if the file is currently open for reading or writing.
SMT387FS_FILE_EXISTS if the to file already exists.
SMT387FS_FILE_RDONLY if the file’s attributes state that it is a read-only file.
SMT387FS_VOL_DIFF if from and to are on different volumes
Otherwise FS_OK.
Page 14
Advertising