fdl
getloadavg
host-cpu-c-abi
+strerror
make-glob"
AC_CHECK_FUNCS([strdup strndup umask mkstemp mktemp fdopen \
dup dup2 getcwd realpath sigsetmask sigaction \
getgroups seteuid setegid setlinebuf setreuid setregid \
- getrlimit setrlimit setvbuf pipe strerror strsignal \
+ getrlimit setrlimit setvbuf pipe strsignal \
lstat readlink atexit isatty ttyname pselect posix_spawn \
posix_spawnattr_setsigmask])
/* Define to 1 if you have the stricmp function. */
/* #undef HAVE_STRICMP */
-/* Define if you have the strerror function. */
-#define HAVE_STRERROR 1
-
/* Define if you have the strsignal function. */
/* #undef HAVE_STRSIGNAL */
/* Define to 1 if you have the stricmp function. */
/* #undef HAVE_STRICMP */
-/* Define to 1 if you have the strerror function. */
-#define HAVE_STRERROR 1
-
/* Define to 1 if you have the strsignal function. */
/* #undef HAVE_STRSIGNAL */
/* Define to 1 if you have the 'strdup' function. */
#define HAVE_STRDUP 1
-/* Define to 1 if you have the 'strerror' function. */
-#define HAVE_STRERROR 1
-
/* Define to 1 if you have the 'stricmp' function. */
#define HAVE_STRICMP 1
return result;
}
\f
-
-#ifndef HAVE_STRERROR
-#undef strerror
-char *
-strerror (int errnum)
-{
- extern int errno, sys_nerr;
-#ifndef __DECC
- extern char *sys_errlist[];
-#endif
- static char buf[] = "Unknown error 12345678901234567890";
-
- if (errno < sys_nerr)
- return sys_errlist[errnum];
-
- sprintf (buf, _("Unknown error %d"), errnum);
- return buf;
-}
-#endif
-\f
/* Like malloc but get fatal error if memory is exhausted. */
/* Don't bother if we're using dmalloc; it provides these for us. */