xref: /phasta/phSolver/common/ph_mkdir.c (revision 3e4d567892ef7e8d6a7306f3925c3cf144cef766)
1*3e4d5678SCameron Smith #include <sys/stat.h>
2*3e4d5678SCameron Smith #include <sys/types.h>
3*3e4d5678SCameron Smith 
ph_mkdir(const char * path)4*3e4d5678SCameron Smith int ph_mkdir(const char* path) {
5*3e4d5678SCameron Smith   int err = mkdir(path, S_IRWXU);
6*3e4d5678SCameron Smith   return err;
7*3e4d5678SCameron Smith }
8