|
返回值 |
描述 |
|
LOS_OK |
The data is successfully written into the queue. |
|
LOS_ERRNO_QUEUE_INVALID |
The queue handle passed in during queue writing is invalid. |
|
LOS_ERRNO_QUEUE_WRITE_PTR_NULL |
The pointer passed in during queue writing is null. |
|
LOS_ERRNO_QUEUE_WRITESIZE_ISZERO |
The buffer size passed in during queue writing is 0. |
|
LOS_ERRNO_QUEUE_WRITE_IN_INTERRUPT |
The queue cannot be written during an interrupt when the time for waiting to processing the queue expires. |
|
LOS_ERRNO_QUEUE_NOT_CREATE |
The queue into which the data is written is not created. |
|
LOS_ERRNO_QUEUE_WRITE_SIZE_TOO_BIG |
The buffer size passed in during queue writing is bigger than the queue size. |
|
LOS_ERRNO_QUEUE_ISFULL |
No free node is available during queue writing. |
|
LOS_ERRNO_QUEUE_PEND_IN_LOCK |
The task is forbidden to be blocked on a queue when the task is locked. |
|
LOS_ERRNO_QUEUE_TIMEOUT |
The time set for waiting to processing the queue expires. |