Changeset c64e4ed4 in rtems for c/src/libmisc/error
- Timestamp:
- 01/15/96 21:50:28 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- a625ccd
- Parents:
- 5c491aef
- Location:
- c/src/libmisc/error
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/libmisc/error/error.c
r5c491aef rc64e4ed4 1 1 /* 2 * @(#)error.c 1. 2 - 95/08/022 * @(#)error.c 1.6 - 95/12/12 3 3 * 4 4 * 5 * report errors and panics to RTEMS' stderr. 6 * Currently just used by RTEMS monitor. 7 * 5 * report errors and panics to RTEMS' stderr. 6 * Currently just used by RTEMS monitor. 8 7 * 9 8 * $Id$ … … 98 97 99 98 100 c har *99 const char * 101 100 rtems_status_text( 102 101 rtems_status_code status … … 109 108 static int rtems_verror( 110 109 unsigned32 error_flag, 111 c har*printf_format,110 const char *printf_format, 112 111 va_list arglist 113 112 ) … … 182 181 int rtems_error( 183 182 int error_flag, 184 c har *printf_format,183 const char *printf_format, 185 184 ... 186 185 ) … … 201 200 202 201 void rtems_panic( 203 c har *printf_format,202 const char *printf_format, 204 203 ... 205 204 ) -
c/src/libmisc/error/error.h
r5c491aef rc64e4ed4 1 1 2 /* 2 * @(#)error.h 1. 1 - 95/08/023 * @(#)error.h 1.3 - 95/10/25 3 4 * 4 5 * … … 7 8 * $Id$ 8 9 */ 10 11 #ifndef __RTEMS_ERROR_h 12 #define __RTEMS_ERROR_h 9 13 10 14 /* … … 19 23 RTEMS_ERROR_PANIC) /* all */ 20 24 21 c har *rtems_status_text(rtems_status_code);22 int rtems_error(int error_code, c har *printf_format, ...);23 void rtems_panic(c har *printf_format, ...);25 const char *rtems_status_text(rtems_status_code); 26 int rtems_error(int error_code, const char *printf_format, ...); 27 void rtems_panic(const char *printf_format, ...); 24 28 25 29 extern int rtems_panic_in_progress; 26 30 31 #endif 32 /* end of include file */
Note: See TracChangeset
for help on using the changeset viewer.