openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_UIO_Puts()

int32_t BSL_UIO_Puts ( BSL_UIO uio,
const char *  buf,
uint32_t *  writeLen 
)

Write a string to the UIO object.

Parameters
uio[IN] uio object.
buf[IN] A null-terminated string to be written.
writeLen[OUT] Length of the data that is successfully written.
Return values
BSL_SUCCESS,Writingsucceeded.
BSL_INTERNAL_EXCEPTION,anunexpected internal error occurs.
BSL_UIO_IO_BUSY,indicatingthat the underlying I/O is busy.
BSL_UIO_IO_EXCEPTION,IOabnormal.
BSL_UIO_FAIL,invalidparameter.