cctools
|
Go to the source code of this file.
Functions | |
int | mkdirat_recursive (int fd, const char *path, mode_t mode) |
Create a new directory recursively. More... | |
int | mkdir_recursive (const char *path, mode_t mode) |
Create a new directory recursively. More... | |
int | mkdirat_recursive_parents (int fd, const char *path, mode_t mode) |
Create needed parent directories of a file or directory. More... | |
int | mkdir_recursive_parents (const char *path, mode_t mode) |
Create needed parent directories of a file or directory. More... | |
Create a new directory recursively.
int mkdirat_recursive | ( | int | fd, |
const char * | path, | ||
mode_t | mode | ||
) |
Create a new directory recursively.
fd | The directory path is relative to. |
path | The full path of a directory. It is not necessary for all components of the path to exist. |
mode | The desired unix mode bits of the directory and parents. |
int mkdir_recursive | ( | const char * | path, |
mode_t | mode | ||
) |
Create a new directory recursively.
path | The full path of a directory. It is not necessary for all components of the path to exist. |
mode | The desired unix mode bits of the directory and parents. |
int mkdirat_recursive_parents | ( | int | fd, |
const char * | path, | ||
mode_t | mode | ||
) |
Create needed parent directories of a file or directory.
fd | The directory path is relative to. |
path | The full path of a file or directory. |
mode | The desired unix mode bits of the parent directories. |
int mkdir_recursive_parents | ( | const char * | path, |
mode_t | mode | ||
) |
Create needed parent directories of a file or directory.
path | The full path of a file or directory. |
mode | The desired unix mode bits of the parent directories. |