Provides the BDirectory class.
More...
Provides the BDirectory class.
◆ create_directory()
status_t create_directory |
( |
const char * |
path, |
|
|
mode_t |
mode |
|
) |
| |
Creates all missing directories along a given path.
- Parameters
-
path | The directory path name. |
mode | A permission specification, which shall be used for the newly created directories. |
- Returns
- A status code.
- Return values
-
B_OK | Everything went fine. |
B_BAD_VALUE | NULL path. |
B_ENTRY_NOT_FOUND | path does not refer to a possible entry. |
B_PERMISSION_DENIED | Directory permissions didn't allow operation. |
B_NO_MEMORY | Insufficient memory for operation. |
B_LINK_LIMIT | Indicates a cyclic loop within the file system. |
B_BUSY | A node was busy. |
B_FILE_ERROR | A general file error. |
B_NOT_A_DIRECTORY | An entry other than a directory with that name already exists. |
B_NO_MORE_FDS | The application has run out of file descriptors. |
- Since
- BeOS R3