RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros | Enumerations | Functions
status.h File Reference

This header file provides the status codes of Classic API directives and support functions. 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 directive status code.
 
#define RTEMS_STATUS_CODES_LAST   RTEMS_PROXY_BLOCKING
 This constant represents the highest valid value for a Classic API directive 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 RTEMS status code to a POSIX error number.
 
const char * rtems_status_text (rtems_status_code status_code)
 Maps the status code to a descriptive text.
 

Detailed Description

This header file provides the status codes of Classic API directives and support functions.