3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Lars Gullik Bjønnes
8 * Full author contact details are available in file CREDITS.
13 #include "support/lyxlib.h"
16 #include <sys/types.h>
20 int lyx::support::mkdir(std::string const & pathname, unsigned long int mode)
22 // FIXME: why don't we have mode_t in lyx::mkdir prototype ??
23 return ::mkdir(pathname.c_str(), mode_t(mode));