lyx_mirror/src/support/mkdir.C
Jean-Marc Lasgouttes edbcab7c2d Update NEWS; fix lyx::mkdir?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1141 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-19 10:04:36 +00:00

16 lines
266 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)
{
return ::mkdir(pathname.c_str(), mode_t(mode));
}