openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_FileOpen()

int32_t BSL_SAL_FileOpen ( bsl_sal_file_handle stream,
const char *  path,
const char *  mode 
)

Open a file.

Open the file and ensure that the entered path is standardized.

注意
None
参数
stream[OUT] File handle
path[IN] File path
mode[IN] Reading mode
返回值
BSL_SUCCESS,succeeded.
BSL_SAL_ERR_FILE_OPEN,failedto be opened.
BSL_NULL_INPUT,parametererror.