Error Code
[RT-Thread Kernel API]


Defines

#define RT_EOK   0
#define RT_ERROR   1
#define RT_ETIMEOUT   2
#define RT_EFULL   3
#define RT_EEMPTY   4
#define RT_ENOSYS   5

Detailed Description

The error code is defined to identify what's happen. When some bad things happen, the current thread's errno will be set.

Define Documentation

#define RT_EEMPTY   4

The resource is empty.

#define RT_EFULL   3

The resource is full.

#define RT_ENOSYS   5

No system.

#define RT_EOK   0

There is no error happen.

#define RT_ERROR   1

A generic error happens.

#define RT_ETIMEOUT   2

Some timing sensitive action failed, because timed out.


Generated on Thu Oct 9 07:19:09 2008 for RT-Thread Kernel by  doxygen 1.5.7