openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_FileRead()

int32_t BSL_SAL_FileRead ( bsl_sal_file_handle  stream,
void *  buffer,
size_t  size,
size_t  num,
size_t *  len 
)

Read the file.

Read the file.

注意
none
参数
stream[IN] File handle
buffer[IN] Buffer for reading data
size[IN] The unit of reading.
num[IN] Number of data records to be read
len[OUT] Read the data length.
返回值
BSL_SUCCESS,succeeded.
BSL_SAL_ERR_UNKNOWN,fails.
BSL_NULL_INPUT,Incorrectparameter