tuya file system module
更多...
浏览源代码.
tuya file system module
- 版本
- 1.0
- 日期
- 2019-10-30
- 版权所有
- Copyright (c) tuya.inc 2019
◆ uni_is_executable()
BOOL_T uni_is_executable |
( |
const char * |
path | ) |
|
check if the file excuteable
- 参数
-
[in] | path | the path of the file |
- 返回
- TRUE on excutable, others on un-excutable
◆ uni_is_exist()
BOOL_T uni_is_exist |
( |
const char * |
path | ) |
|
check if the file or directory existed
- 参数
-
[in] | path | the path of the file or directory |
- 返回
- TRUE on existed, others on not existed
◆ uni_is_readable()
BOOL_T uni_is_readable |
( |
const char * |
path | ) |
|
check if the file readable
- 参数
-
[in] | path | the path of the file |
- 返回
- TRUE on readable, others on un-readable
◆ uni_is_writable()
BOOL_T uni_is_writable |
( |
const char * |
path | ) |
|
check if the file writeable
- 参数
-
[in] | path | the path of the file |
- 返回
- TRUE on writable, others on un-writable
◆ uni_mkdir()
OPERATE_RET uni_mkdir |
( |
const char * |
path | ) |
|
create directory, ignore if existed
- 参数
-
[in] | path | path of the directory |
- 返回
- OPRT_OK on success, others on failed, please refer to tuya_error_code.h
◆ uni_mkdir_all()
OPERATE_RET uni_mkdir_all |
( |
const char * |
path | ) |
|
create multi-level directory
- 参数
-
[in] | path | path of the directory |
- 返回
- OPRT_OK on success, others on failed, please refer to tuya_error_code.h
◆ uni_remove()
OPERATE_RET uni_remove |
( |
const char * |
path | ) |
|
remove file or directory, ignore if not existed
- 参数
-
[in] | path | the path of the file or directory |
- 返回
- OPRT_OK on success, others on failed, please refer to tuya_error_code.h