lyx_mirror/src/support/mkdir.C
John Levon e0dc1a3ffb Documentation + file removals as sent to list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4286 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 02:24:33 +00:00

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));
}