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.

Attention
none
Parameters
path[IN] File path
len[OUT] File length
Return values
BSL_SUCCESS,succeeded
BSL_SAL_ERR_UNKNOWN,fails
BSL_NULL_INPUT,parametererror