mirror of https://gitlab.com/scemama/EZFIO.git
14 lines
208 B
C
14 lines
208 B
C
|
#include <sys/stat.h>
|
||
|
#include <sys/types.h>
|
||
|
#include <errno.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
|
||
|
void ezfio_mkdir(char* filename) {
|
||
|
errno = 0;
|
||
|
if (mkdir (filename, S_IRWXU)) {
|
||
|
perror (strerror (errno));
|
||
|
}
|
||
|
}
|
||
|
|