]> git.lyx.org Git - lyx.git/blob - src/support/mkdir.C
support for wasy symbols
[lyx.git] / src / support / mkdir.C
1 #include <config.h>
2
3 #include <sys/stat.h>
4 #include <sys/types.h>
5 #include <fcntl.h>
6 #include <unistd.h>
7
8 #include "LString.h"
9
10 #include "lyxlib.h"
11
12 int lyx::mkdir(string const & pathname, unsigned long int mode)
13 {
14         // FIXME: why don't we have mode_t in lyx::mkdir prototype ?? 
15         return ::mkdir(pathname.c_str(), mode_t(mode));
16 }