![]() |
RTEMS 6.1
|
#include <rtems.h>#include <rtems/error.h>#include <rtems/assoc.h>#include <rtems/score/sysstate.h>#include <rtems/score/threadimpl.h>#include <inttypes.h>#include <stdio.h>#include <stdarg.h>#include <errno.h>#include <stdlib.h>#include <string.h>#include <unistd.h>Functions | |
| int | rtems_verror (rtems_error_code_t error_flag, const char *printf_format, va_list arglist) |
| Report an Error. | |
| int | rtems_error (rtems_error_code_t error_flag, const char *printf_format,...) |
| Report an Error. | |
Variables | |
| int | rtems_panic_in_progress |
| int rtems_error | ( | rtems_error_code_t | error_code, |
| const char * | printf_format, | ||
| ... | |||
| ) |
Report an Error.
| [in] | error_code | can be specified as any of the following: RTEMS_ERROR_ERRNO – include errno text in output RTEMS_ERROR_PANIC – halts local system after output RTEMS_ERROR_ABORT – abort after output |
| [in] | printf_format | is a normal printf(3) format string, with its concommitant arguments |
| int rtems_verror | ( | rtems_error_code_t | error_code, |
| const char * | printf_format, | ||
| va_list | arglist | ||
| ) |
Report an Error.
| [in] | error_code | can be specified as any of the following: RTEMS_ERROR_ERRNO – include errno text in output RTEMS_ERROR_PANIC – halts local system after output RTEMS_ERROR_ABORT – abort after output |
| [in] | printf_format | is a normal printf(3) format string, with its concommitant arguments |
| [in] | arglist | is a varargs list corresponding to printf_format |