Return values of the BSL module range from 0x03000001 to 0x03ffffff.
枚举值 |
---|
BSL_NULL_INPUT | NULL input.
|
BSL_INTERNAL_EXCEPTION | Error occurs when calling internal BSL functions
|
BSL_MALLOC_FAIL | Error occurs when allocating memory
|
BSL_MEMCPY_FAIL | Error occurs when calling memcpy_s.
|
BSL_INVALID_ARG | Invalid arguments.
|
BSL_SAL_ERR_UNKNOWN | Unknown error.
|
BSL_SAL_ERR_BAD_PARAM | Parameter incorrect.
|
BSL_SAL_ERR_FILE_OPEN | Open file error.
|
BSL_SAL_ERR_FILE_READ | File reading error.
|
BSL_SAL_ERR_FILE_WRITE | File writing error.
|
BSL_SAL_ERR_FILE_LENGTH | Obtaining the file length error.
|
BSL_SAL_ERR_FILE_TELL | Error in obtaining the file pointer offset.
|
BSL_SAL_ERR_FILE_SEEK | Failed to set pointer position of file.
|
BSL_SAL_ERR_FILE_SET_ATTR | Setting file attribute failed.
|
BSL_SAL_ERR_FILE_GET_ATTR | Error in obtaining file attributes.
|
BSL_SAL_ERR_NET_SOCKCLOSE | Error occured when closing a socket.
|
BSL_SAL_ERR_NET_SETSOCKOPT | Error occured when setting a socket option.
|
BSL_SAL_ERR_NET_GETSOCKOPT | Error occured when getting a socket option.
|
BSL_SAL_ERR_NET_LISTEN | Error occured when listening a socket.
|
BSL_SAL_ERR_NET_BIND | Error occured when binding a socket
|
BSL_SAL_ERR_NET_CONNECT | Error occured when building a connection.
|
BSL_SAL_ERR_NET_IOCTL | Error occured when calling ioctl.
|
BSL_LOG_ERR_BAD_PARAM | Bad parameter.
|
BSL_TLV_ERR_BAD_PARAM | Bad parameter.
|
BSL_TLV_ERR_NO_WANT_TYPE | No TLV found.
|
BSL_ERR_ERR_ACQUIRE_READ_LOCK_FAIL | Failed to obtain the read lock.
|
BSL_ERR_ERR_ACQUIRE_WRITE_LOCK_FAIL | Failed to obtain the write lock.
|
BSL_ERR_ERR_NO_STACK | Error stack is empty.
|
BSL_ERR_ERR_NO_ERROR | Error stack is NULL.
|
BSL_ERR_ERR_NO_MARK | Error stack has no mark.
|
BSL_UIO_FAIL | Invalid parameters.
|
BSL_UIO_IO_EXCEPTION | I/O is abnormal.
|
BSL_UIO_IO_BUSY | I/O is busy.
|
BSL_UIO_REF_MAX | The number of UIO objects has reached the maximum.
|
BSL_UIO_IO_EOF | I/O object has reached EOF
|
BSL_UIO_UNINITIALIZED | UIO object is uninitialized
|
BSL_LIST_INVALID_LIST_CURRENT | Current node pointer is NULL
|
BSL_LIST_DATA_NOT_AVAILABLE | Data of current node is NULL
|
BSL_LIST_FULL | Number of nodes has reached its limit
|