Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancment: create directory #11

Closed
fundies opened this issue Apr 20, 2014 · 2 comments
Closed

enhancment: create directory #11

fundies opened this issue Apr 20, 2014 · 2 comments

Comments

@fundies
Copy link

fundies commented Apr 20, 2014

I need to create a directory and I see no cross platform way of doing it without boost

@cxong
Copy link
Owner

cxong commented May 6, 2014

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

@cxong
Copy link
Owner

cxong commented May 19, 2014

Actually you can check out https://github.com/stephenmathieson/mkdirp.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants