2 #include <msvcrt/stdio.h>
6 int rename(const char *old_, const char *new_)
8 if (old_ == NULL || new_ == NULL)
11 if (!MoveFileA(old_,new_))
17 int _wrename(const wchar_t *old_, const wchar_t *new_)
19 if (old_ == NULL || new_ == NULL)
22 if (!MoveFileW(old_,new_))