/* This C language subroutine maps an error number to an error string. Everything is implementation defined, and we do not define error strings. The Run Time Library for the C Language. Gordon A. Sterling (617) 461 - 3076 DSP Development Tools Engineering Create on 1/22/91 Updated on 5/94 by AS #include
char *strerror(int errnum); */ #include "lib_glob.h" #include "str_glob.h" .SEGMENT/CODE Code_Space_Name; .FILE RTL_FILENAME; .GLOBAL _strerror; _strerror: FETCH_RETURN R0=current_error_string; restore_state: RETURN (DB); RESTORE_STACK RESTORE_FRAME .ENDSEG; .SEGMENT/RAM_SPACE Ram_Space_Name; .VAR current_error_string[36] = 0x00000054,0x00000068,0x00000065,0x00000072,0x00000065, 0x00000020,0x00000061,0x00000072,0x00000065,0x00000020, 0x0000006e,0x0000006f,0x00000020,0x00000065,0x00000072, 0x00000072,0x0000006f,0x00000072,0x00000020,0x00000073, 0x00000074,0x00000072,0x00000069,0x0000006e,0x00000067, 0x00000073,0x00000020,0x00000064,0x00000065,0x00000066, 0x00000069,0x0000006e,0x00000065,0x00000064,0x00000021, 0x00000000; /* "There are no error strings defined!" */ .ENDSEG;