RTEMS Logo

RTEMS 4.10.2 On-Line Library


Error Reporting Support rtems_error - Report an Error

PREV UP NEXT Bookshelf New Chapters

1.4.2: rtems_error - Report an Error

CALLING SEQUENCE:

int rtems_error(
  int         error_code,
  const char *printf_format,
  ...
);

STATUS CODES:

Returns the number of characters written.

DESCRIPTION:

This routine prints the requested information as specified by the printf_format parameter and the zero or more optional arguments following that parameter. The error_code parameter is an error number with either RTEMS_ERROR_PANIC or RTEMS_ERROR_ABORT bitwise or'ed with it. If the RTEMS_ERROR_PANIC bit is set, then then the system is system is shutdown via a call to _exit. If the RTEMS_ERROR_ABORT bit is set, then then the system is system is shutdown via a call to abort.

NOTES:

NONE


PREV UP NEXT Bookshelf New Chapters

Copyright © 1988-2008 OAR Corporation