blob: 62e824b16256f686aa5c4fd2c4a2ad33825170a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// file : build/mkdir -*- C++ -*-
// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef BUILD_MKDIR
#define BUILD_MKDIR
#include <sys/types.h> // mode_t
#include <build/path>
namespace build
{
// Note that you should probably use the default mode 0777 and let
// the umask mechanism adjust it to the user's preferences. Errors
// are reported by throwing std::system_error.
//
void
mkdir (const path&, mode_t = 0777);
}
#endif // BUILD_MKDIR
|