lyx_mirror/src/support/mkdir.C

16 lines
247 B
C++
Raw Normal View History

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