enhancment: create directory
fundies opened this issue · comments
I need to create a directory and I see no cross platform way of doing it without boost
Under Linux and OSX (BSD), there's a mkdir
function. Under Windows there's _mkdir
. Making this available should be easy.
There's a few other issues though, such as permissions (a bit different under Windows, what's the default permission for new folders, 0755?) and recursive creation i.e. mkdir -p
.
http://stackoverflow.com/questions/10356712/mkdir-windows-vs-linux
Actually you can check out https://github.com/stephenmathieson/mkdirp.c