mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 23:51:25 +00:00
d6665cba42
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1041 a592a061-630c-0410-9148-cb99ea01b6c8
16 lines
272 B
C
16 lines
272 B
C
#include <config.h>
|
|
|
|
#include <cstdio>
|
|
|
|
#include "support/lyxlib.h"
|
|
|
|
bool lyx::rename(char const * from, char const * to)
|
|
{
|
|
return ::rename(from, to) != -1;
|
|
}
|
|
|
|
bool lyx::rename(string const & from, string const & to)
|
|
{
|
|
return ::rename(from.c_str(), to.c_str()) != -1;
|
|
}
|