diff options
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libio.h')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index da9fa884a0..04fdc6898f 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -735,6 +735,17 @@ extern rtems_libio_supp_functions_t rtems_libio_supp_helper; typedef void (*rtems_fs_init_functions_t)(void); extern rtems_fs_init_functions_t rtems_fs_init_helper; +/** + * @brief Creates a directory and all its parrent directories according to + * @a path. + * + * The @a mode value selects the access permissions of the directory. + * + * @retval 0 Successful operation. + * @retval -1 An error occured. @c errno indicates the error. + */ +extern int rtems_mkdir(const char *path, mode_t mode); + #ifdef __cplusplus } #endif |