riot_sys::bindgen

Function vfs_rename

Source
pub unsafe extern "C" fn vfs_rename(
    from_path: *const c_char,
    to_path: *const c_char,
) -> c_int
Expand description

@brief Rename a file

The file @p from_path will be renamed to @p to_path

@note it is not possible to rename files across different file system

@param[in] from_path absolute path to existing file @param[in] to_path absolute path to destination

@return 0 on success @return <0 on error