Functions | |
int | c_isdir (const char *path) |
int | c_mkdirs (const char *path, mode_t mode) |
int c_isdir | ( | const char * | path | ) |
Check if a path is a directory.
path | The path to check. |
int c_mkdirs | ( | const char * | path, | |
mode_t | mode | |||
) |
Create parent directories as needed.
The newly created directory will be owned by the effective user ID of the process.
path | The path to the directory to create. | |
mode | Specifies the permissions to use. It is modified by the process's umask in the usual way: the permissions of the created file are (mode & ~umask). |