#include "config.h"#include "ansidecl.h"#include "libiberty.h"#include <stdio.h>#include <errno.h>

Go to the source code of this file.
Data Types | |
| type | error_info |
Defines | |
| #define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
| #define | ENTRY(value, name, msg) {value, name, msg} |
| #define | sys_nerr sys_nerr__ |
| #define | sys_errlist sys_errlist__ |
Functions/Subroutines | |
| PTR | malloc () |
| PTR | memset () |
| static void init_error_tables | PARAMS ((void)) |
| static void | init_error_tables () |
| int | errno_max () |
| char * | strerror (int errnoval) |
| const char * | strerrno (int errnoval) |
| int | strtoerrno (char *name) const |
Variables | |
| static struct error_info | error_table [] |
| static const char ** | error_names |
| static int | num_error_names = 0 |
| static int | sys_nerr |
| static const char ** | sys_errlist |
| #define sys_errlist sys_errlist__ |
Definition at line 470 of file strerror.c.
Referenced by _auxerr(), ErrMsg_Report(), gerror_(), init_error_tables(), perror_(), strerror(), and strerror_().
| #define sys_nerr sys_nerr__ |
Definition at line 469 of file strerror.c.
Referenced by _auxerr(), ErrMsg_Report(), errno_max(), gerror_(), init_error_tables(), mpw_start_progress(), perror_(), strerror(), and strerror_().
| int errno_max | ( | void | ) |
Definition at line 510 of file strerror.c.
References malloc, memset, msg, and NULL.
Referenced by errno_max(), strerrno(), strerror(), and strtoerrno().
| PTR malloc | ( | ) |
| PTR memset | ( | ) |
Definition at line 77 of file cplus-dem.c.
| const char* strerrno | ( | int | errnoval | ) |
Definition at line 697 of file strerror.c.
| char* strerror | ( | int | errnoval | ) |
Definition at line 630 of file strerror.c.
Referenced by catch(), catch_signal(), cgt_fini(), Cif_Errstring(), DaVinci::DaVinci(), dump_begin(), ErrMsg_Report_Nonuser(), ErrMsg_Report_User(), error_from_errno(), G77_gerror_0(), init_src_input(), ipa_compile_init(), ipacom_doit(), ir_b_grow_map(), ir_bwrite_signal_handler(), Ir_Lno_Signal_Handler(), main(), MDclose(), open_module_file(), output_mod_info_file(), parse_decorate_script(), Parse_script(), perror_with_name(), save_cpp_output(), sysfatal(), and xstrerror().
| int strtoerrno | ( | char * | name | ) | const |
const char** error_names [static] |
Definition at line 456 of file strerror.c.
struct error_info error_table[] [static] |
Definition at line 78 of file strerror.c.
int num_error_names = 0 [static] |
Definition at line 457 of file strerror.c.
Referenced by errno_max(), init_error_tables(), strerrno(), and strtoerrno().
const char** sys_errlist [static] |
Definition at line 472 of file strerror.c.
int sys_nerr [static] |
Definition at line 471 of file strerror.c.
1.5.6