openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_FileLength()

int32_t BSL_SAL_FileLength ( const char *  path,
size_t *  len 
)

Obtain the file length.

Obtain the file length.

注意
none
参数
path[IN] File path
len[OUT] File length
返回值
BSL_SUCCESS,succeeded
BSL_SAL_ERR_UNKNOWN,fails
BSL_NULL_INPUT,parametererror