|
doc
|
Functions | |
| int | c_isdir (const char *path) |
| int | c_mkdirs (const char *path, mode_t mode) |
| int | c_rmdirs (const char *dir) |
| int c_isdir | ( | const char * | path | ) |
| 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). |
References c_mkdirs(), mode, and path.
Referenced by c_mkdirs().
| int c_rmdirs | ( | const char * | dir | ) |
Remove the directory and subdirectories including the content.
This removes all directories and files recursivly.
| dir | The directory to remove recusively. |
References c_rmdirs().
Referenced by c_rmdirs().