TuyaOS
函数
uni_fs.h 文件参考

tuya file system module 更多...

#include "tal_fs.h"
uni_fs.h 的引用(Include)关系图:

浏览源代码.

函数

BOOL_T uni_is_executable (const char *path)
 check if the file excuteable 更多...
 
BOOL_T uni_is_exist (const char *path)
 check if the file or directory existed 更多...
 
BOOL_T uni_is_readable (const char *path)
 check if the file readable 更多...
 
BOOL_T uni_is_writable (const char *path)
 check if the file writeable 更多...
 
OPERATE_RET uni_mkdir (const char *path)
 create directory, ignore if existed 更多...
 
OPERATE_RET uni_mkdir_all (const char *path)
 create multi-level directory 更多...
 
OPERATE_RET uni_remove (const char *path)
 remove file or directory, ignore if not existed 更多...
 

详细描述

tuya file system module

版本
1.0
日期
2019-10-30

函数说明

◆ uni_is_executable()

BOOL_T uni_is_executable ( const char *  path)

check if the file excuteable

参数
[in]paththe 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]paththe 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]paththe 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]paththe 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]pathpath 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]pathpath 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]paththe path of the file or directory
返回
OPRT_OK on success, others on failed, please refer to tuya_error_code.h