Home | History | Annotate | Download | only in libiberty

Lines Matching refs:sys_errlist

9    might declare sys_errlist in a way that the compiler might consider
14 #define sys_errlist sys_errlist__
25 #undef sys_errlist
444 lies outside the range of sys_errlist[]. */
466 #define sys_errlist sys_errlist__
468 static const char **sys_errlist;
476 #ifndef sys_errlist
477 extern char *sys_errlist[];
495 the error_names and the sys_errlist (if needed) tables, which are
548 /* Now attempt to allocate the sys_errlist table, zero it out, and then
551 if (sys_errlist == NULL)
554 if ((sys_errlist = (const char **) malloc (nbytes)) != NULL)
556 memset (sys_errlist, 0, nbytes);
560 sys_errlist[eip -> value] = eip -> msg;
576 use the @code{sys_errlist} supplied by the system, it is possible for
612 external variables @code{sys_nerr} and @code{sys_errlist}, these
616 the @code{sys_errlist}, but no message is available for the particular
621 @code{sys_errlist}, returns @code{NULL}.
655 else if ((sys_errlist == NULL) || (sys_errlist[errnoval] == NULL))
657 /* In range, but no sys_errlist or no entry at this index. */
664 msg = (char *) sys_errlist[errnoval];