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.
14 #include <sys/types.h>
22 int lyx::support::mkdir(string const & pathname, unsigned long int mode)
24 // FIXME: why don't we have mode_t in lyx::mkdir prototype ??
25 return ::mkdir(pathname.c_str(), mode_t(mode));