mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
e0dc1a3ffb
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4286 a592a061-630c-0410-9148-cb99ea01b6c8
17 lines
330 B
C
17 lines
330 B
C
#include <config.h>
|
|
|
|
#include <sys/stat.h>
|
|
#include <sys/types.h>
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
|
|
#include "LString.h"
|
|
|
|
#include "lyxlib.h"
|
|
|
|
int lyx::mkdir(string const & pathname, unsigned long int mode)
|
|
{
|
|
// FIXME: why don't we have mode_t in lyx::mkdir prototype ??
|
|
return ::mkdir(pathname.c_str(), mode_t(mode));
|
|
}
|