Files
oldlinux-files/study/linux-travel/minix-386/estdio21.tar/estdio21/_errlist.c
2024-02-19 00:25:23 -05:00

22 lines
542 B
C

/* _ e r r l i s t */
/* This encodes a table of system error messages for perror.
* The error messages themselves are stored as a sequence
* of strings in errlist.h. This code is conditionally
* compiled since we prefer to use the one in the system itself.
*/
#include "stdiolib.h"
/*LINTLIBRARY*/
#ifdef ERRLIST
int __errlist = 1; /* installation flag */
char *sys_errlist[] = {
#include "errlist.h"
};
int sys_nerr = sizeof(sys_errlist) / sizeof(sys_errlist[0]);
#endif