openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_UIO_Write()

int32_t BSL_UIO_Write ( BSL_UIO uio,
const void *  data,
uint32_t  len,
uint32_t *  writeLen 
)

Write data to the UIO object

参数
uio[IN] uio object.
data[IN] Data to be written.
len[IN] Data length.
writeLen[OUT] Length of the data that is successfully written.
返回值
BSL_SUCCESS,indicatingthat the data is successfully written.
BSL_INTERNAL_EXCEPTION,anunexpected internal error occurs.
BSL_UIO_IO_BUSY,indicatingthat the underlying I/O is busy.
BSL_UIO_IO_EXCEPTION,TheI/O is abnormal.
BSL_UIO_FAIL,invalidparameter.