openHiTLS API
openHiTLS 0.1.0-Alpha1
首页
模块
结构体
文件
Bsl_uio
BSL_UIO
BSL_UIO_Append
BSL_UIO_BufferMethod
BSL_UIO_ClearFlags
BSL_UIO_Ctrl
BSL_UIO_CtrlParameter
BSL_UIO_Free
BSL_UIO_FreeChain
BSL_UIO_FreeMethod
BSL_UIO_GetCtx
BSL_UIO_GetIsUnderlyingClosedByUio
BSL_UIO_GetMethod
BSL_UIO_Gets
BSL_UIO_GetTransportType
BSL_UIO_GetUserData
BSL_UIO_New
BSL_UIO_NewMethod
BSL_UIO_Next
BSL_UIO_PopCurrent
BSL_UIO_Puts
BSL_UIO_Read
BSL_UIO_SctpMethod
BSL_UIO_SetCtx
BSL_UIO_SetFd
BSL_UIO_SetFlags
BSL_UIO_SetInit
BSL_UIO_SetIsUnderlyingClosedByUio
BSL_UIO_SetMethod
BSL_UIO_SetMethodType
BSL_UIO_SetUserData
BSL_UIO_SetUserDataFreeFunc
BSL_UIO_TcpMethod
BSL_UIO_TestFlags
BSL_UIO_TransportType
BSL_UIO_UpRef
BSL_UIO_USERDATA_FREE_FUNC
BSL_UIO_Write
◆
BSL_UIO_Gets()
int32_t BSL_UIO_Gets
(
BSL_UIO
*
uio
,
char *
buf
,
uint32_t *
readLen
)
Reads a string from the UIO object
参数
uio
[IN] uio object.
buf
[IN] Buffer that accepts a line of strings
readLen
[IN/OUT] Length of the buffer for receiving data/Length of the data that is successfully read
返回值
BSL_SUCCESS
(Determine the value based on the actual receive length. if the length is 0 means no data is read.)
BSL_INTERNAL_EXCEPTION
,an
unexpected internal error occurs.
BSL_UIO_FAIL
,invalid
parameter.
BSL_UIO_IO_EXCEPTION
,IO
abnormal.
制作者
1.9.7