RTEMS
|
This header file defines the status codes and support functions of the Classic API. More...
#include <stdbool.h>
Go to the source code of this file.
Macros | |
#define | RTEMS_STATUS_CODES_FIRST RTEMS_SUCCESSFUL |
This constant represents the lowest valid value for a Classic API status code. | |
#define | RTEMS_STATUS_CODES_LAST RTEMS_PROXY_BLOCKING |
This constant represents the highest valid value for a Classic API status code. | |
Enumerations | |
enum | rtems_status_code { RTEMS_SUCCESSFUL = 0, RTEMS_TASK_EXITTED = 1, RTEMS_MP_NOT_CONFIGURED = 2, RTEMS_INVALID_NAME = 3, RTEMS_INVALID_ID = 4, RTEMS_TOO_MANY = 5, RTEMS_TIMEOUT = 6, RTEMS_OBJECT_WAS_DELETED = 7, RTEMS_INVALID_SIZE = 8, RTEMS_INVALID_ADDRESS = 9, RTEMS_INVALID_NUMBER = 10, RTEMS_NOT_DEFINED = 11, RTEMS_RESOURCE_IN_USE = 12, RTEMS_UNSATISFIED = 13, RTEMS_INCORRECT_STATE = 14, RTEMS_ALREADY_SUSPENDED = 15, RTEMS_ILLEGAL_ON_SELF = 16, RTEMS_ILLEGAL_ON_REMOTE_OBJECT = 17, RTEMS_CALLED_FROM_ISR = 18, RTEMS_INVALID_PRIORITY = 19, RTEMS_INVALID_CLOCK = 20, RTEMS_INVALID_NODE = 21, RTEMS_NOT_CONFIGURED = 22, RTEMS_NOT_OWNER_OF_RESOURCE = 23, RTEMS_NOT_IMPLEMENTED = 24, RTEMS_INTERNAL_ERROR = 25, RTEMS_NO_MEMORY = 26, RTEMS_IO_ERROR = 27, RTEMS_INTERRUPTED = 28, RTEMS_PROXY_BLOCKING = 29 } |
This enumeration provides status codes for directives of the Classic API. More... | |
Functions | |
int | rtems_status_code_to_errno (rtems_status_code status_code) |
Maps the specified RTEMS status code to a POSIX error number. More... | |
static bool | rtems_are_statuses_equal (rtems_status_code left_status_code, rtems_status_code right_status_code) |
Returns true, if the left hand side status code is equal to the right hand side status code, otherwise returns false. More... | |
static bool | rtems_is_status_successful (rtems_status_code status_code) |
Returns true, if the status code is equal to RTEMS_SUCCESSFUL, otherwise returns false. More... | |
const char * | rtems_status_text (rtems_status_code status_code) |
Returns a text describing the specified status code. More... | |
This header file defines the status codes and support functions of the Classic API.
Definition in file status.h.